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 » Extra libraries, Code snippets, applications etc. » C++ language problems and code snippets » FP exception vs NaN
FP exception vs NaN [message #55273] Mon, 26 October 2020 21:08 Go to previous message
koldo is currently offline  koldo
Messages: 3357
Registered: August 2008
Senior Veteran
Hi Didier

Influential people think that divisions by zero or negative square roots are admissible in a good code. I do not agree.
IMHO a NaN or an Inf is a failure in code, it should be debugged and fixed. Divisions by zero or negative sqrt... are just bugs. If your code considers these situations as normal, my friend, you are screwed. I wouldn't put money in your bank Smile

To avoid problems with existing code that allows these situations, a new Bazaar package has to be opened.

Didier, I will open a first functional version in few days, but your support and that of other colleagues will be very acknowledged.


Best regards
IƱaki
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Dumb bug. Improper use of Null
Next Topic: strange MinGw return
Goto Forum:
  


Current Time: Fri Apr 26 22:53:46 CEST 2024

Total time taken to generate the page: 4.04275 seconds