<< Back to previous view

[MTOWER-5] Large number of boxed math warnings Created: 01/Nov/14  Updated: 01/Nov/14

Status: Open
Project: math.numeric-tower
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Defect Priority: Major
Reporter: Steven Yi Assignee: Mark Engelberg
Resolution: Unresolved Votes: 0
Labels: None
Environment:

OSX 10.10
Clojure 1.7-alpha3



 Description   

Compiling a project using numeric-tower with Clojure 1.7-alpha3 and setting unchecked-math to :warn-on-boxed, I receive the following warnings about boxed math:

Boxed math warning, clojure/math/numeric_tower.clj:74:26 - call: public static java.lang.Number clojure.lang.Numbers.quotient(java.lang.Object,long).
Boxed math warning, clojure/math/numeric_tower.clj:77:8 - call: public static boolean clojure.lang.Numbers.isZero(java.lang.Object).
Boxed math warning, clojure/math/numeric_tower.clj:86:6 - call: public static boolean clojure.lang.Numbers.isPos(java.lang.Object).
Boxed math warning, clojure/math/numeric_tower.clj:87:6 - call: public static boolean clojure.lang.Numbers.isZero(java.lang.Object).
Boxed math warning, clojure/math/numeric_tower.clj:93:12 - call: public static java.lang.Number clojure.lang.Numbers.divide(long,java.lang.Object).
Boxed math warning, clojure/math/numeric_tower.clj:100:4 - call: public static boolean clojure.lang.Numbers.isNeg(java.lang.Object).
Boxed math warning, clojure/math/numeric_tower.clj:155:20 - call: public static java.lang.Number clojure.lang.Numbers.unchecked_add(java.lang.Object,java.lang.Object).
Boxed math warning, clojure/math/numeric_tower.clj:166:20 - call: public static java.lang.Number clojure.lang.Numbers.unchecked_add(java.lang.Object,java.lang.Object).
Boxed math warning, clojure/math/numeric_tower.clj:164:12 - call: public static boolean clojure.lang.Numbers.isPos(java.lang.Object).
Boxed math warning, clojure/math/numeric_tower.clj:164:27 - call: public static java.lang.Number clojure.lang.Numbers.quotient(java.lang.Object,java.lang.Object).
Boxed math warning, clojure/math/numeric_tower.clj:165:5 - call: public static java.lang.Number clojure.lang.Numbers.quotient(java.lang.Object,java.lang.Object).
Boxed math warning, clojure/math/numeric_tower.clj:161:6 - call: public static boolean clojure.lang.Numbers.isPos(java.lang.Object).
Boxed math warning, clojure/math/numeric_tower.clj:161:15 - call: public static java.lang.Number clojure.lang.Numbers.quotient(java.lang.Object,java.lang.Object).
Boxed math warning, clojure/math/numeric_tower.clj:162:12 - call: public static java.lang.Number clojure.lang.Numbers.quotient(java.lang.Object,java.lang.Object).
Boxed math warning, clojure/math/numeric_tower.clj:187:11 - call: public static boolean clojure.lang.Numbers.isZero(java.lang.Object).
Boxed math warning, clojure/math/numeric_tower.clj:195:9 - call: public static boolean clojure.lang.Numbers.isZero(java.lang.Object).
Boxed math warning, clojure/math/numeric_tower.clj:196:9 - call: public static boolean clojure.lang.Numbers.isZero(java.lang.Object).
Boxed math warning, clojure/math/numeric_tower.clj:197:28 - call: public static java.lang.Number clojure.lang.Numbers.quotient(java.lang.Object,java.lang.Object).
Boxed math warning, clojure/math/numeric_tower.clj:203:4 - call: public static boolean clojure.lang.Numbers.gt(java.lang.Object,long).
Boxed math warning, clojure/math/numeric_tower.clj:206:13 - call: public static java.lang.Number clojure.lang.Numbers.quotient(java.lang.Object,long).
Boxed math warning, clojure/math/numeric_tower.clj:207:19 - call: public static java.lang.Number clojure.lang.Numbers.quotient(java.lang.Object,long).
Boxed math warning, clojure/math/numeric_tower.clj:208:52 - call: public static java.lang.Number clojure.lang.Numbers.quotient(java.lang.Object,java.lang.Object).
Boxed math warning, clojure/math/numeric_tower.clj:208:29 - call: public static java.lang.Number clojure.lang.Numbers.quotient(java.lang.Object,long).
Boxed math warning, clojure/math/numeric_tower.clj:209:7 - call: public static boolean clojure.lang.Numbers.gte(java.lang.Object,java.lang.Object).
Boxed math warning, clojure/math/numeric_tower.clj:212:4 - call: public static boolean clojure.lang.Numbers.gt(java.lang.Object,long).
Boxed math warning, clojure/math/numeric_tower.clj:213:4 - call: public static boolean clojure.lang.Numbers.gt(java.lang.Object,long).
Boxed math warning, clojure/math/numeric_tower.clj:214:4 - call: public static boolean clojure.lang.Numbers.gt(java.lang.Object,long).
Boxed math warning, clojure/math/numeric_tower.clj:215:4 - call: public static boolean clojure.lang.Numbers.gt(java.lang.Object,long).
Boxed math warning, clojure/math/numeric_tower.clj:216:4 - call: public static boolean clojure.lang.Numbers.gt(java.lang.Object,long).
Boxed math warning, clojure/math/numeric_tower.clj:221:30 - call: public static boolean clojure.lang.Numbers.isNeg(java.lang.Object).
Boxed math warning, clojure/math/numeric_tower.clj:228:7 - call: public static boolean clojure.lang.Numbers.isNeg(java.lang.Object).
Boxed math warning, clojure/math/numeric_tower.clj:231:6 - call: public static boolean clojure.lang.Numbers.isZero(java.lang.Object).
Boxed math warning, clojure/math/numeric_tower.clj:235:7 - call: public static boolean clojure.lang.Numbers.isNeg(java.lang.Object).
Boxed math warning, clojure/math/numeric_tower.clj:244:8 - call: public static java.lang.Number clojure.lang.Numbers.divide(java.lang.Object,java.lang.Object).
Boxed math warning, clojure/math/numeric_tower.clj:247:7 - call: public static boolean clojure.lang.Numbers.isNeg(java.lang.Object).
Boxed math warning, clojure/math/numeric_tower.clj:251:4 - call: public static java.lang.Number clojure.lang.Numbers.divide(java.lang.Object,java.lang.Object).






Generated at Wed Dec 17 23:46:23 CST 2014 using JIRA 4.4#649-r158309.