Opened 13 years ago

Last modified 12 years ago

#340 new enhancement

make LOG smarter?

Reported by: rme Owned by: rme
Priority: minor Milestone:
Component: Compiler Version: trunk
Keywords: Cc:


Knuth (section 1.2.4, exercise 4) says log10 of 1000! is 2567.60464...

In the trunk, we get the following:

(log (fact 1000) 10.0d0) => 2567.60474...

Change History (2)

comment:1 Changed 13 years ago by gb

FWIW, in MCL (where SINGLE-FLOAT and DOUBLE-FLOAT are both IEEE-doubles), this produces the more accurate answer.

Note: See TracTickets for help on using tickets.