Home
last modified time | relevance | path

Searched refs:abs_difference (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/num-traits/src/ops/
Dmul_add.rs141 let abs_difference = (MulAdd::mul_add(m, x, b) - (m*x + b)).abs(); in mul_add_float() localVariable
143 assert!(abs_difference <= 46.4 * $t::EPSILON); in mul_add_float()
/external/mesa3d/src/mesa/program/
Dir_to_mesa.cpp877 src_reg abs_difference = get_temp(glsl_type::vec4_type); in emit_equality_comparison() local
903 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()