Files
jak-project/test/goalc/source_templates/arithmetic/nested-float-functions.static.gc
water111 27f0a7ca44 [Decompiler] Begin expression conversion, rearrange tests (#209)
* refactor tests and analysis passes

* identity test working

* combine test categories with only a few cases

* more fixes
2021-01-23 16:32:56 -05: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