bit_truncate_double# caput.util.truncate.bit_truncate_double(val: numpy.float64, err: numpy.float64) → numpy.float64[source]# Truncate using a fixed error. Parameters: valfloatThe value to truncate. errfloatThe absolute precision to allow. Returns: truncatedfloatThe truncated value. Raises: ValueErrorIf err is a NaN.