Re: Problems with C floats
- Posted by mattlewis (admin) Jan 31, 2010
- 2378 views
irv said...
irv@irv-laptop ~ $ eui irv.ex double: 0.250000 float: 0.000000Note: Euphoria Interpreter 4.0.0 development (r3059) for Linux, same with 3061.
Note2: There's no printf involvement with the routines I'm having trouble with, it's just passing floating point values to graphics routines for positioning purposes.
Yeah, I understand. printf is just the easiest way to see what's getting passed. I was running r3054, but I get the expected results after updating to 3061, too. I'm using gcc 4.4.1, BTW.
I can't get it to break. I switched order, changed the format to %e, added some other variables to pass...Can anyone else reproduce this?
Matt