Thread
:
Some thoughts about Double Precision numbers
View Single Post
#
4
31-03-2015, 19:55
Jared Russell
Taking a year (mostly) off
FRC #0254 (The Cheesy Poofs), FRC #0341 (Miss Daisy)
Team Role: Engineer
Join Date: Nov 2002
Rookie Year: 2001
Location: San Francisco, CA
Posts: 3,078
Re: Some thoughts about Double Precision numbers
This is why the gcc compiler has a -Wfloat-equal warning flag. Using the "==" operator on floating point types usually indicates a programmer mistake.
Jared Russell
View Public Profile
Find all posts by Jared Russell
Find CD-Media Photos by Jared Russell
Find CD-Media Papers by Jared Russell