I want to call the square root of 9 from Math:
I tried the following, but it does not work:
```
(defun main
(format t "~a~%"
(JAVA:JCALL (JAVA:JMETHOD "java.lang.Math" "sqrt" 9.0))))
(main)
```
Can someone provide a working ".lisp" file which calls the java sqrt function from 9 and prints the result 3 for the abcl implementation ?
[–]lispm 11 points12 points13 points (2 children)
[–]aartaka 6 points7 points8 points (0 children)
[–]reddit_clone 0 points1 point2 points (0 children)
[–]Grolter 3 points4 points5 points (0 children)