On Monday, October 13, 2014 4:34:16 AM UTC-4, Laurens Van Houtven wrote: > > Hi Ashish, > > > At first sight, this looks like a numerical precision problem. 1e80 is a > floating point type, not an integer type. You may want to try with e.g. > 1000000000000000N (note the N; that makes it a bigint). I don’t know of any > nice syntax for describing extremely large bigints; e.g exponent notation. >
1e80N doesn't work, but 1e80M does, and so does 1E400M so it's not going through a double on the way (or it would turn into an infinity at that stage). That's a BigDecimal but then, (bigint 1E400M) works just fine. Though it prints rather inefficiently. :) -- 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.