bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Possible error in bc


From: Dean Allen Provins
Subject: Possible error in bc
Date: Sun, 10 Feb 2002 10:51:12 -0700
User-agent: Mutt/1.2.5i

Hello:

I use "bc" moderately frequently, and find it very useful.

Recently, when calculating some larger numbers, I had occasion (in my
formulae) to compute 0^0 (i.e. zero tothe zero power).  This produced
the value 1 (one).

It was my understanding (and I checked my CRC math tables book, and
also tried gcc in a simple test) that 0^0 should be 0 (zero).  Thus I
believe that this is an error in "bc".

Regards,

Dean

-- 
                                Dean Provins 
                address@hidden,  address@hidden
Linux is a stimulating and productive alternative to other PC operating systems.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]