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

Make cosh signal overflow when it should overflow.

 * lisp/e_cosh.c:
   * The compiler replaced the code huge*huge with infinity instead of
     doing the operation.  Change it so it does fabs(x)*huge, which
     forces the compiler to do the multiplication.
   * Change huge from 1e300 to 1e307 so that fabs(x)*huge will
     actually overflow when |x| > overflowthreshold.
 * tests/trig.lisp:
   * Add tests for sinh and cosh signaling overflow appropriately.
 * general-info/release-20f.txt:
   * Update.
parent ab446830
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