Re: Problems with C floats

new topic     » goto parent     » topic index » view thread      » older message » newer message
irv said...

irv@irv-laptop ~ $ eui irv.ex 
double: 0.250000 
float: 0.000000 
Note: 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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu