Home
last modified time | relevance | path

Searched refs:checkDouble (Results 1 – 4 of 4) sorted by relevance

/libcore/ojluni/src/test/java/math/BigDecimal/
DFloatDoubleValueTests.java66 static void checkDouble(BigDecimal bd, double d) { in checkDouble() method in FloatDoubleValueTests
137 checkDouble(bd1, (double)i); in testDoubleValue()
138 checkDouble(bd2, -(double)i); in testDoubleValue()
144 checkDouble(new BigDecimal(Long.MIN_VALUE), (double)Long.MIN_VALUE); in testDoubleValue()
145 checkDouble(new BigDecimal(Long.MAX_VALUE), (double)Long.MAX_VALUE); in testDoubleValue()
173 checkDouble(new BigDecimal("85070591730234615847396907784232501249"), 8.507059173023462e37); in testDoubleValue1()
174 checkDouble(new BigDecimal("7784232501249e12"), 7.784232501249e24); in testDoubleValue1()
175 checkDouble(new BigDecimal("907784232501249e-12"), 907.784232501249); in testDoubleValue1()
176 checkDouble(new BigDecimal("7784e8"), 7.784e11); in testDoubleValue1()
177 checkDouble(new BigDecimal("9077e-8"), 9.077e-5); in testDoubleValue1()
/libcore/json/src/main/java/org/json/
DJSONArray.java152 values.add(JSON.checkDouble(value)); in put()
196 JSON.checkDouble(((Number) value).doubleValue()); in checkedPut()
262 JSON.checkDouble(((Number) value).doubleValue()); in put()
DJSON.java23 static double checkDouble(double d) throws JSONException { in checkDouble() method in JSON
DJSONObject.java230 nameValuePairs.put(checkName(name), JSON.checkDouble(value)); in put()
274 JSON.checkDouble(((Number) value).doubleValue()); in put()
751 JSON.checkDouble(doubleValue); in numberToString()