Skip to main content

Timeline for How to overcome inaccuracy in Java

Current License: CC BY-SA 3.0

3 events
when toggle format what by license comment
Mar 5, 2014 at 5:44 comment added keshlam Floating point has a reserved value meaning infinity, along with a reserved value meaning 'not a meaningfully computable number` (NAN). Some of the others may; you'd have to look at their documentation. Integer and scaled integer and related don't, of course. But generally real-world problems don't actually need INF or NAN except as error cases... unless you're writing a symbolic math package, in which case you mostly aren't going to be computing with numbers at all.
Mar 5, 2014 at 5:37 comment added Hungry Blue Dev That was enlightening... :-) Well, you're right: I don't need precision here, I just need to make it acceptable to humans. But There remains the problem of the infinity.
Mar 5, 2014 at 5:32 history answered keshlam CC BY-SA 3.0