Skip to content
  • Raymond Toy's avatar
    Make cosh signal overflow when it should overflow. · 80df05a1
    Raymond Toy authored
     * 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.
    80df05a1