floating points

Blitz3D Forums/Blitz3D Beginners Area/floating points

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

The problem is something else.

Single precision is the same in Blitz and C++. In either case if you try to add a very small number to a very large one there will be no change.

For example 5000.0 + 0.00005 would produce 5000.0, because there is not enough precision to represent 5000.00005.