1 20 package gov.nasa.jpf.jvm; 21 22 25 public class JPF_java_lang_Double { 26 public static long doubleToLongBits (MJIEnv env, int rcls, double v0) { 27 return Double.doubleToLongBits(v0); 28 } 29 30 public static long doubleToRawLongBits (MJIEnv env, int rcls, double v0) { 31 return Double.doubleToRawLongBits(v0); 32 } 33 34 public static double longBitsToDouble (MJIEnv env, int rcls, long v0) { 35 return Double.longBitsToDouble(v0); 36 } 37 38 public static int toString__D (MJIEnv env, int objref, double d) { 39 return env.newString(Double.toString(d)); 40 } 41 42 public static boolean isInfinite__D (MJIEnv env, int rcls, double v) { 47 return Double.isInfinite(v); 48 } 49 50 public static boolean isNaN__D (MJIEnv env, int rcls, double v) { 52 return Double.isNaN(v); 53 } 54 } 55 | Popular Tags |