Whats up with KCalc?

Alex Zbyslaw xfb52 at dial.pipex.com
Wed Jul 13 13:58:28 GMT 2005


John Oxley wrote:

>On Wed, Jul 13, 2005 at 01:13:24AM -0500, Nikolas Britton wrote:
>  
>
>>On 7/12/05, Nikolas Britton <nikolas.britton at gmail.com> wrote:
>>Ok... this thing is WAY OFF... if you type in 85.49 and then hit the +
>>key the thing automatically jumps to
>>85.48999999999999488409230252727866172791!!! My SuSE box shows "85.49"
>>but if you copy and paste the number into a text editor it shows
>>85.48999... too.
>>    
>>
>
>IANA Mathematician, but my guess would be that there is a rounding
>error. 
>
This certainly makes sense for floating point numbers, but it's the 
original version with low integer arithmetic that boggles.

Why not just use xcalc ;-)

--Alex



More information about the freebsd-questions mailing list