Skip to content
Snippets Groups Projects
Commit 2e182540 authored by Raymond Toy's avatar Raymond Toy
Browse files

Make (log (scale-float 1d0 k) 2) = k

 * src/code/irrat.lisp
   * Improve accuracy of log2 for the case when x=2^k. There might be
     some loss in accuracy for other values of x, however.
 * tests/float.lisp
   * Add test for log2(2^k) = k.
parent d03e1784
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment