Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » double equals nothing
Re: double equals nothing [message #26911 is a reply to message #26910] Tue, 08 June 2010 23:15 Go to previous message
mirek is currently offline  mirek
Messages: 14266
Registered: November 2005
Ultimate Member
nixnixnix wrote on Tue, 08 June 2010 16:30


EDIT: not sure why it doesn't display but in fact the value was equal to FFFFFFFFFFFFEFFF which converts to -1.7976931348623157e+308 which I admit is a very silly number. It would still be good if this value showed in the debugger but I don't need it fixed now.



Explanation: In U++, double values < -1.0E+307 are considered Null.

Null itself is defined as -1.0E+308. But to be sure about double equality issues, there is "less" instead of "equal" used. I believe that in practice, limiting double range to e+/-300 is non-issue.

Mirek
 
Read Message
Read Message
Previous Topic: BUG: Serious problem with Core/CharSet
Next Topic: Thread::ShutdownThreads not safe
Goto Forum:
  


Current Time: Sun Jul 20 05:39:02 CEST 2025

Total time taken to generate the page: 0.00763 seconds