Mail Archives: djgpp/1998/04/13/15:32:44
: > number %= (int)pow(10, digit_to_start_with);
In HP-UX man pow gives
double pow(double x, double y);
so 10 should be 10.0 as an argument to pow, shouldn't it ?
I do not understand the reason for having two versions of pow functions.
HP-UX cc gives error when pow is called without -lm, which I find correct.
Can you, please, explain to me the difference between DJPGG and gnu C ?
I thought DJPGG is just a port of gcc, i.e. a special implementation ?
Thank you
Pavel Pokorny
Math Dept, Prague Institute of Chemical Technology
e-mail: Pavel DOT Pokorny AT vscht DOT cz
http://staff.vscht.cz/mat/Pavel.Pokorny
- Raw text -