Raymond Toy pushed to branch issue-468-core-math-signals at cmucl / cmucl

Commits:

1 changed file:

Changes:

  • tests/fdlibm.lisp
    ... ... @@ -90,10 +90,8 @@
    90 90
     
    
    91 91
     (define-test %acosh.exceptions
    
    92 92
       (:tag :fdlibm)
    
    93
    -  ;; Core-math returns infinity instead of signaling overflow.
    
    94 93
       (assert-error 'floating-point-overflow
    
    95 94
     		(kernel:%acosh ext:double-float-positive-infinity))
    
    96
    -  ;; Core-math currently returns QNaN
    
    97 95
       (assert-error 'floating-point-invalid-operation
    
    98 96
     		(kernel:%acosh 0d0))
    
    99 97
       (ext:with-float-traps-masked (:overflow)
    
    ... ... @@ -106,8 +104,6 @@
    106 104
       (:tag :fdlibm)
    
    107 105
       (assert-error 'floating-point-invalid-operation
    
    108 106
     		(kernel:%asinh *snan*))
    
    109
    -  ;; Core-math returns the signed infinity instead of signaling an
    
    110
    -  ;; overflow.
    
    111 107
       (assert-error 'floating-point-overflow
    
    112 108
     		(kernel:%asinh ext:double-float-positive-infinity))
    
    113 109
       (assert-error 'floating-point-overflow