Floating point error in simple expression
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
why subtracting 3 mm here is a problem? I understand floating-point arithmetic and its limitations, but that most definitely should not affect values with one decimal point under 30. Also, problem is only when working with mm. Unitless math works just fine.
Thanks