File tree Expand file tree Collapse file tree 4 files changed +6
-7
lines changed Expand file tree Collapse file tree 4 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 161161(define *default-precision* (make-parameter 'binary64 ))
162162
163163;; The platform that Herbie will evaluate with.
164- (define *platform-name* (make-parameter "c-linux " ))
164+ (define *platform-name* (make-parameter "c " ))
165165
166166;; Plugins loaded locally rather than through Racket.
167167(define *loose-plugins* (make-parameter '() ))
Original file line number Diff line number Diff line change 1616(define boolean-move-cost 0.1 )
1717
1818(define platform
19- (make-empty-platform 'c #:if-cost boolean-move-cost))
19+ (make-empty-platform 'c-windows #:if-cost boolean-move-cost))
2020
2121;;;;;;;;;;;;;;;;;;;;;;;;;;;;; BOOLEAN ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2222
132132 ([erfc.f32 ([x : binary32]) binary32 (- 1 (erf x)) (from-libm 'erfcf ) (! :precision binary32 (erfc x)) 0.907758 ]
133133 [expm1.f32 ([x : binary32]) binary32 (- (exp x) 1 ) (from-libm 'expm1f ) (! :precision binary32 (expm1 x)) 0.906484 ]
134134 [log1p.f32 ([x : binary32]) binary32 (log (+ 1 x)) (from-libm 'log1pf ) (! :precision binary32 (log1p x)) 1.302969 ]
135- [hypot.f32 ([x : binary32] [y : binary32]) binary32 (sqrt (+ (* x x) (* y y))) (from-libm 'hypotf ) (! :precision binary32 (hypot x y)) 1.6816069999999997 ]
136135 [fma.f32 ([x : binary32] [y : binary32] [z : binary32]) binary32 (+ (* x y) z) (from-libm 'fmaf ) (! :precision binary32 (fma x y z)) 0.38934 ]))
137136
138137;;;;;;;;;;;;;;;;;;;;;;;;;;;;; BINARY 64 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Original file line number Diff line number Diff line change 1616(define boolean-move-cost 0.1 )
1717
1818(define platform
19- (make-empty-platform 'c #:if-cost boolean-move-cost))
19+ (make-empty-platform 'c-linux #:if-cost boolean-move-cost))
2020
2121;;;;;;;;;;;;;;;;;;;;;;;;;;;;; BOOLEAN ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2222
Original file line number Diff line number Diff line change 77
88(define-runtime-module-path herbie10-platform "../platforms/herbie10.rkt " )
99(define-runtime-module-path herbie20-platform "../platforms/herbie20.rkt " )
10- (define-runtime-module-path c-linux- platform "../platforms/c-linux .rkt " )
10+ (define-runtime-module-path c-platform "../platforms/c.rkt " )
1111(define-runtime-module-path c-windows-platform "../platforms/c-windows.rkt " )
1212(define-runtime-module-path racket-platform "../platforms/racket.rkt " )
1313(define-runtime-module-path math-platform "../platforms/math.rkt " )
1818 herbie10-platform
1919 "herbie20 "
2020 herbie20-platform
21- "c-linux "
22- c-linux- platform
21+ "c "
22+ c-platform
2323 "c-windows "
2424 c-windows-platform
2525 "racket "
You can’t perform that action at this time.
0 commit comments