Given a floating point number (as an integer representing its bits), computes how many ULPs it is
from zero.
Subnormal numbers are skipped, so that 0 is one ULP from the minimum normal number.
Subnormal values are flushed to 0.
Positive and negative 0 are both considered to be 0 ULPs from 0.
Given a floating point number (as an integer representing its bits), computes how many ULPs it is from zero.
Subnormal numbers are skipped, so that 0 is one ULP from the minimum normal number. Subnormal values are flushed to 0. Positive and negative 0 are both considered to be 0 ULPs from 0.