Poll: what piece of C software do you know to explicitly uses NaN as a value that happens along normal executions?
@spun_off Define "normal". :-) Nans are important in some mathematical sw to propagate non-represoentable results without lots of branches.
-
-
@RichFelker If occurrence of NaN is an unwanted error, one can interrupt the execution trace as soon as it happens. “normal” is the opposite -
@spun_off Not necessarily. You may have a mix of valuable, valud results with a few inconclusive (nan) ones from a given computation.
-
@RichFelker good point. And most operations are underspecified as to the NaN representation they produce but memcpy produces a specific NaN… -
@RichFelker so if one is going to add NaN support they should probably be a hierarchy with “Any NaN” and “the specific NaN represented as …”
End of conversation
New conversation -
-
-
@RichFelker Math libraries that are NaN in-NaN out can still be part of useful target programs that work on that principle. NaNboxing, no.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.