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 17debae commit cdc6439Copy full SHA for cdc6439
math-lib/math/private/bigfloat/mpfr.rkt
@@ -361,8 +361,8 @@ There's no reason to allocate new limbs for an _mpfr without changing its precis
361
(set-mpfr-sign! x 0)
362
(set-mpfr-exp! x mpfr-exp-nan) ; what `mpfr-init2' does
363
(set-mpfr-d! x d)
364
- ;; Cast to add struct wrapper:
365
- (cast x _pointer _mpfr-pointer))
+ ;; Add struct wrapper:
+ (make-wrap-mpfr x))
366
367
;; ===================================================================================================
368
;; Accessors
0 commit comments