Click here to Skip to main content
15,905,563 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: What the NaN? Pin
Mladen Janković2-Oct-16 11:04
Mladen Janković2-Oct-16 11:04 
GeneralRe: What the NaN? Pin
Sander Rossel2-Oct-16 11:13
professionalSander Rossel2-Oct-16 11:13 
GeneralRe: What the NaN? Pin
Sander Rossel2-Oct-16 11:19
professionalSander Rossel2-Oct-16 11:19 
NewsRe: What the NaN? Pin
Super Lloyd2-Oct-16 12:02
Super Lloyd2-Oct-16 12:02 
GeneralRe: What the NaN? Pin
BillWoodruff2-Oct-16 16:22
professionalBillWoodruff2-Oct-16 16:22 
GeneralRe: What the NaN? Pin
Super Lloyd2-Oct-16 19:28
Super Lloyd2-Oct-16 19:28 
GeneralRe: What the NaN? Pin
Sander Rossel2-Oct-16 20:38
professionalSander Rossel2-Oct-16 20:38 
GeneralRe: What the NaN? Pin
den2k882-Oct-16 20:59
professionalden2k882-Oct-16 20:59 
You need to check for NaN before passing to min/max and eventually root out them by code.

What happened to the simple rule of checking for unexpected/invalid values before using them? Does everybody now cross the streets without looking, eventually launching an exception if hit by a car?
GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- ++>+++ y+++*      Weapons extension: ma- k++ F+2 X

If you think 'goto' is evil, try writing an Assembly program without JMP. -- TNCaver

When I was six, there were no ones and zeroes - only zeroes. And not all of them worked. -- Ravi Bhavnani

GeneralRe: What the NaN? Pin
BillWoodruff3-Oct-16 0:33
professionalBillWoodruff3-Oct-16 0:33 
GeneralRe: What the NaN? Pin
den2k883-Oct-16 1:53
professionalden2k883-Oct-16 1:53 
GeneralRe: What the NaN? Pin
Sander Rossel3-Oct-16 6:02
professionalSander Rossel3-Oct-16 6:02 
GeneralRe: What the NaN? Pin
den2k883-Oct-16 11:31
professionalden2k883-Oct-16 11:31 
GeneralRe: What the NaN? Pin
Daniel Pfeffer4-Oct-16 11:13
professionalDaniel Pfeffer4-Oct-16 11:13 
GeneralI was sent this... Pin
OriginalGriff2-Oct-16 5:01
mveOriginalGriff2-Oct-16 5:01 
GeneralRe: I was sent this... Pin
glennPattonWork32-Oct-16 6:11
professionalglennPattonWork32-Oct-16 6:11 
GeneralRe: I was sent this... Pin
OriginalGriff2-Oct-16 6:12
mveOriginalGriff2-Oct-16 6:12 
GeneralRe: I was sent this... Pin
Nagy Vilmos2-Oct-16 6:53
professionalNagy Vilmos2-Oct-16 6:53 
GeneralMe thinks the pinned message is a /tad/ misleading... Pin
Nagy Vilmos2-Oct-16 2:18
professionalNagy Vilmos2-Oct-16 2:18 
GeneralRe: Me thinks the pinned message is a /tad/ misleading... Pin
OriginalGriff2-Oct-16 2:37
mveOriginalGriff2-Oct-16 2:37 
GeneralRe: Me thinks the pinned message is a /tad/ misleading... Pin
Nagy Vilmos2-Oct-16 3:18
professionalNagy Vilmos2-Oct-16 3:18 
GeneralRe: Me thinks the pinned message is a /tad/ misleading... Pin
BillWoodruff2-Oct-16 6:45
professionalBillWoodruff2-Oct-16 6:45 
GeneralRe: Me thinks the pinned message is a /tad/ misleading... Pin
Chris Maunder2-Oct-16 18:35
cofounderChris Maunder2-Oct-16 18:35 
GeneralRe: Me thinks the pinned message is a /tad/ misleading... Pin
Rajesh R Subramanian2-Oct-16 19:10
professionalRajesh R Subramanian2-Oct-16 19:10 
GeneralRe: Me thinks the pinned message is a /tad/ misleading... Pin
Chris Maunder2-Oct-16 19:38
cofounderChris Maunder2-Oct-16 19:38 
QuestionWhen someone is trying to hack your site Pin
virang_211-Oct-16 23:44
virang_211-Oct-16 23:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.