Ticket #340 (new enhancement)

Opened 6 years ago

Last modified 5 years ago

make LOG smarter?

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

Description

 http://groups.google.com/group/comp.lang.lisp/browse_thread/thread/52523e3a1f4eb896

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 6 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 5 years ago by rme

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