Files
jak-project/test/goalc/source_templates/float/nested-float-functions.static.gc
T
2020-10-08 00:05:01 -04:00

14 lines
324 B
Common Lisp

(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