Skip to content

Commit e2ad80c

Browse files
authored
Fixes a typo in the Primus Lisp IEEE754 semantics (#1580)
1 parent 32a648b commit e2ad80c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugins/primus_lisp/semantics/ieee754.lisp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
(set y0 (cast-float :rne 64 x0)))
3030

3131
(defun cast_sint_rne_ieee754_binary_64 ()
32-
(set y0 (cast-sfloat :rne 64 x0)))
32+
(set y0 (cast-sint :rne 64 x0)))
3333

3434
(defun cast_int_rne_ieee754_binary_64 ()
35-
(set y0 (cast-float :rne 64 x0)))
35+
(set y0 (cast-int :rne 64 x0)))

0 commit comments

Comments
 (0)