Files
jak-project/goal_src/test/test-nested-float-functions.gc
T
water111 c7c342ce7e Add defmethod and some uses of the deref operator (#51)
* add tests for various xmms

* use unaligned stores and loads to back up and restore xmm128s and also fix argument spilling bug

* add deftype

* add deref and fix some method _type_ things
2020-09-18 22:02:27 -04:00

15 lines
357 B
Common Lisp

(define-extern _format function)
(define format _format)
(defun float-testing-function-2 ((x float) (y float))
(format #t "i ~f ~f~%" x y)
(let ((result (* x y (* x x))))
(format #t "r ~f~%" result)
result
)
)
(let ((x (float-testing-function-2 (* 1.2 1.2) 3.4)))
(format #t "~,,3f ~,,3f~%" (float-testing-function-2 1.2000 x) x)
)
0