C extension=> pow(2, 1) gives DIFFERENT answers in different parts of C extension!?!?! Any ideas why?
Christian Seberino
seberino at spawar.navy.mil
Mon Feb 2 03:18:09 EST 2004
More information about the Python-list mailing list
Mon Feb 2 03:18:09 EST 2004
- Previous message (by thread): C extension=> pow(2, 1) gives DIFFERENT answers in different parts of C extension!?!?! Any ideas why?
- Next message (by thread): C extension=> pow(2, 1) gives DIFFERENT answers in different parts of C extension!?!?! Any ideas why?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I put this print statement in various parts of my c extension...
printf("XXX %lf\n", pow(2,1));
(I replaced XXX with name of function it was in.)
It gave 2.0 at first but when I called another C function I made
and entered it... then value dropped to 0.0!???!?
Any ideas why?
Chris
- Previous message (by thread): C extension=> pow(2, 1) gives DIFFERENT answers in different parts of C extension!?!?! Any ideas why?
- Next message (by thread): C extension=> pow(2, 1) gives DIFFERENT answers in different parts of C extension!?!?! Any ideas why?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list