Arithmetics

2003-12-03 Thread Stefan Jahnke
point arithmetics, but how is it, that perl already says good bye to accurate results while PL/SQL and C both still give the correct result ? Is there any work around or something I have to consider when doing floating point arithmetics in Perl ? I need to have accurate values without rounding them

Re: Arithmetics

2003-12-03 Thread Mladen Gogala
. In Perl, it results in 5131.399. In C++ (GCC on both Linux and MS Windows) it results in 5131.4. I find it pretty irritating that perl doesn't handle that correctly. I know, it's always a problem with floating point arithmetics, but how is it, that perl already says good bye to accurate