Ticket #340 (new enhancement)

Opened 9 years ago

Last modified 7 years ago

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

comment:1 Changed 9 years ago by gb

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

comment:2 Changed 7 years ago by rme

  • Owner changed from gb to rme
Note: See TracTickets for help on using tickets.