Computes normalized reciprocal and generates optimized HDL code
Fixed-Point Designer / Math Operations
The Normalized Reciprocal HDL Optimized block computes the normalized reciprocal of u, returned as y and t such that 0.5 < |y| ≤ 1 and 2ey = 1/u.
If u = 0 and u is a fixed-point or scaled-double data type,
then y = 2 – eps(y) and e =
2nextpow2(w) – w
+ f, where w
is the word length of u
and f is the fraction length of u.
If u = 0 and u is a floating-point data type, then y = Inf
and t = 1.