Lines Matching refs:expectApproxEquals
45 public static void expectApproxEquals(float a, float b, float maxDelta) { in expectApproxEquals() method in Main
54 public static void expectApproxEquals(double a, double b, double maxDelta) { in expectApproxEquals() method in Main
109 expectApproxEquals(15F, $opt$Mul(5F, 3F), 0.0001F); in mulFloat()
110 expectApproxEquals(0F, $opt$Mul(0F, 0F), 0.0001F); in mulFloat()
111 expectApproxEquals(0F, $opt$Mul(0F, 3F), 0.0001F); in mulFloat()
112 expectApproxEquals(0F, $opt$Mul(3F, 0F), 0.0001F); in mulFloat()
113 expectApproxEquals(-3F, $opt$Mul(1F, -3F), 0.0001F); in mulFloat()
114 expectApproxEquals(36F, $opt$Mul(-12F, -3F), 0.0001F); in mulFloat()
115 expectApproxEquals(33F, $opt$Mul(1F, 3F) * 11F, 0.0001F); in mulFloat()
116 expectApproxEquals(0.02F, 0.1F * 0.2F, 0.0001F); in mulFloat()
117 expectApproxEquals(-0.1F, -0.5F * 0.2F, 0.0001F); in mulFloat()
138 expectApproxEquals(15D, $opt$Mul(5D, 3D), 0.0001D); in mulDouble()
139 expectApproxEquals(0D, $opt$Mul(0D, 0D), 0.0001D); in mulDouble()
140 expectApproxEquals(0D, $opt$Mul(0D, 3D), 0.0001D); in mulDouble()
141 expectApproxEquals(0D, $opt$Mul(3D, 0D), 0.0001D); in mulDouble()
142 expectApproxEquals(-3D, $opt$Mul(1D, -3D), 0.0001D); in mulDouble()
143 expectApproxEquals(36D, $opt$Mul(-12D, -3D), 0.0001D); in mulDouble()
144 expectApproxEquals(33D, $opt$Mul(1D, 3D) * 11D, 0.0001D); in mulDouble()
145 expectApproxEquals(0.02D, 0.1D * 0.2D, 0.0001D); in mulDouble()
146 expectApproxEquals(-0.1D, -0.5D * 0.2D, 0.0001D); in mulDouble()