Lines Matching refs:expectApproxEquals
45 public static void expectApproxEquals(float a, float b) { in expectApproxEquals() method in SubTest
53 public static void expectApproxEquals(double a, double b) { in expectApproxEquals() method in SubTest
102 expectApproxEquals(2F, $opt$Sub(5F, 3F)); in subFloat()
103 expectApproxEquals(0F, $opt$Sub(0F, 0F)); in subFloat()
104 expectApproxEquals(-3F, $opt$Sub(0F, 3F)); in subFloat()
105 expectApproxEquals(3F, $opt$Sub(3F, 0F)); in subFloat()
106 expectApproxEquals(4F, $opt$Sub(1F, -3F)); in subFloat()
107 expectApproxEquals(-9F, $opt$Sub(-12F, -3F)); in subFloat()
108 expectApproxEquals(34359738362F, $opt$Sub(34359738369F, 7F)); // (2^35 + 1) - 7 in subFloat()
109 expectApproxEquals(-0.1F, $opt$Sub(0.1F, 0.2F)); in subFloat()
110 expectApproxEquals(0.2F, $opt$Sub(-0.5F, -0.7F)); in subFloat()
128 expectApproxEquals(2D, $opt$Sub(5D, 3D)); in subDouble()
129 expectApproxEquals(0D, $opt$Sub(0D, 0D)); in subDouble()
130 expectApproxEquals(-3D, $opt$Sub(0D, 3D)); in subDouble()
131 expectApproxEquals(3D, $opt$Sub(3D, 0D)); in subDouble()
132 expectApproxEquals(4D, $opt$Sub(1D, -3D)); in subDouble()
133 expectApproxEquals(-9D, $opt$Sub(-12D, -3D)); in subDouble()
134 expectApproxEquals(134217724D, $opt$Sub(134217729D, 5D)); // (2^27 + 1) - 5 in subDouble()
135 expectApproxEquals(34359738362D, $opt$Sub(34359738369D, 7D)); // (2^35 + 1) - 7 in subDouble()
136 expectApproxEquals(-0.1D, $opt$Sub(0.1D, 0.2D)); in subDouble()
137 expectApproxEquals(0.2D, $opt$Sub(-0.5D, -0.7D)); in subDouble()