We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7785e8 commit e1e508eCopy full SHA for e1e508e
example.fpcore
@@ -0,0 +1 @@
1
+(FPCore (z0) (cos (* (* z0 PI) -1/90)))
src/platforms/herbie20.rkt
@@ -199,3 +199,7 @@
199
200
(define-operation (binary32->binary64 [x <binary32>]) <binary64>
201
#:spec x #:fpcore (! :precision binary64 (cast x)) #:impl identity #:cost 64)
202
+
203
+(define-operation (81-cosz0PI190 [z0 <binary64>]) <binary64>
204
+ #:spec (cos (* (* z0 (PI)) -1/180)) #:impl (from-rival)
205
+ #:fpcore (! :precision binary64 (81-cosz0PI190 z0)) #:cost 1000)
0 commit comments