#How to handle floating-point errors?

6 messages · Page 1 of 1 (latest)

pulsar gulchBOT
#

When your question is answered use !solved or the button below to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.

storm temple
#

One easy solution, if you're specifically looking for 0s, is to accept all numbers between -1e-7 and 1e-7 as valid

rich panther
#

sir, this is C help

formal cedar
#

oop my bad

pulsar gulchBOT
#

@formal cedar

Please Do Not Delete Posts!

Please don't delete forum posts. They can be helpful to refer to later and other members can learn from them. In the future you can use !solved to close a post and mark a post as solved.

pulsar gulchBOT
# pulsar gulch

Thank you and let us know if you have any more questions!

This thread is now set to auto-hide after an hour of inactivity