Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
bhargavkulk committed Sep 11, 2024
1 parent eef6b8f commit cf13cb8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/core/explain.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,8 @@
; nan rescue:
; R(+-inf) + R(-+inf) = nan, but should actually
; be inf
[(and (overflow? xlog) (overflow? ylog) (not (same-sign?* xfl yfl))) (mark-erroneous! subexpr 'nan-rescue)]
[(and (overflow? xlog) (overflow? ylog) (not (same-sign?* xfl yfl)))
(mark-erroneous! subexpr 'nan-rescue)]

; inf rescue:
; R(inf) + y = non inf value (inf rescue)
Expand Down
4 changes: 1 addition & 3 deletions src/core/logspace.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
math/flonum
racket/struct
"../syntax/syntax.rkt"
"../syntax/types.rkt")
"../syntax/types.rkt")

(provide (all-defined-out))

Expand Down Expand Up @@ -153,8 +153,6 @@
; (match-define (logfl a sa ea) A)
; (logfl (ceil a) sa (fllog2 (abs (ceil a)))))



(define (logop? symbol)
(match symbol
['log+ #true]
Expand Down

0 comments on commit cf13cb8

Please sign in to comment.