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

Ensure acosh signals appropriate exceptions.

 * src/lisp/e_acosh.c:
   * Use fdlibm_setexceptions to signal exceptions appropriately.
 * tests/trig.lisp:
   * Add tests for acosh.
   * Update other tests to use the kernel:%foo functions instead of
     calling CL:foo. We really want to just test the fdlibm functions,
     not the CL versions of them, which might have different
     definitions. For example, acosh is defined for all real args
     (returning complex numbers in some cases), but kernel:%acosh is
     only defined for x > 1.
parent 258101b2
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.
Please register or to comment