Files
jak-project/test/old_goal_tests/tests/test-access-inline-array.gc
T
2020-08-22 22:32:18 -04:00

20 lines
424 B
Common Lisp

;-*-Scheme-*-
(test-setup 1.2345 #f)
(let* ((new-method (-> bfloat methods 0))
(print-method (-> bfloat methods 2))
(my-float (the bfloat (new-method 'global bfloat)))
)
(set! (-> my-float data) 1.23456)
(print-method my-float)
(format #t "~%")
)
(let ((x 0))
(while (< x 9)
(format #t "method ~d of ~A is ~A~%" x bfloat (-> bfloat methods x))
(+1! x)
)
)