Searched refs:abs_difference (Results 1 – 2 of 2) sorted by relevance
141 let abs_difference = (MulAdd::mul_add(m, x, b) - (m*x + b)).abs(); in mul_add_float() localVariable143 assert!(abs_difference <= 46.4 * $t::EPSILON); in mul_add_float()
877 src_reg abs_difference = get_temp(glsl_type::vec4_type); in emit_equality_comparison() local903 emit(ir, OPCODE_ABS, dst_reg(abs_difference), difference); in emit_equality_comparison()905 abs_difference.negate = ~abs_difference.negate; in emit_equality_comparison()906 emit(ir, op, dst, abs_difference, zero); in emit_equality_comparison()