|
|
back to boardc++ must die, pascal forever (+) It's enough the pascal's extended type to solve this problem. But the C++'s double type has only 15 digits :'( Edited by author 16.11.2007 01:58 Re: c++ must die, pascal forever (+) Use long double! Re: c++ must die, pascal forever (+) I think it's enough int64 Re: c++ must die, pascal forever (+) I agree with topic), but i think it depends on compiler VS help says that long double equals to double and have 15 digits, but actually can store up to 18 strange.. Re: c++ must die, pascal forever (+) Int64 is enougth c++ must die, pascal forever (+) Pascal - это наше всё... Re: c++ must die, pascal forever (+) If you can't normaly solve the problem, just agree with it. C++ - the best! Pascal - already died. Re: c++ must die, pascal forever (+) gcc has 10 bytes for long double while VC long double is 8 bytes long. Anyway, __int64 can hold up to 18 digits. And keep it unsigned :) |
|
|