Files
jak-project/goal_src/test/test-nested-float-functions.gc
T
water111 2d11e44eaf Compiler Cleanup and Documentation (#54)
* start cleanup

* fix typos

* fix syntax highlighting in doc

* lots of documentation updates

* clean and add tests

* more documentation and more error messages

* more document and try building kernel differently
2020-09-24 17:19:23 -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