Re: Problems with C floats

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

Someone reported issues with EuGTK crashing with c_func()/c_proc(). I think the issue with eubins is still there.

irv said...

Problem with the eubins builds still exists: With r3094 from the eubins, and the test from post #19 above, I get this:

double: 4.602295e-34 
float: 7.500000e-01 
int: 9 
ptr: 0xdeadbeef 
f1: 2.300000 (40133333) 
f2: 0.500000 (3f000000) 
f3: 0.000000 (818efff) 
i: 8008135 
2.799999952 

Whereas, with the same version built from svn on my own laptop, I get this:

double: 2.500000e-01 
float: 7.500000e-01 
int: 9 
ptr: 0xdeadbeef 
f1: 1.100000 (3f8ccccd) 
f2: 2.300000 (40133333) 
f3: 0.500000 (3f000000) 
i: 8008135 
3.399999976 

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

Search



Quick Links

User menu

Not signed in.

Misc Menu