Math/abs won't accept ratios, so I assumed the Java Math functions
only took base number types but all the other methods I tried accept
ratios just fine.

user=> (Math/sin 1/2)
0.479425538604203
user=> (Math/sqrt 1/2)
0.7071067811865476
user=> (Math/pow 1/2 1/2)
0.7071067811865476
user=> (Math/abs 1/2)
IllegalArgumentException No matching method found: abs
clojure.lang.Reflector.invokeMatchingMethod (Reflector.java:77)

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to