core.converters.utils#
Functions#
|
Check if a given floating-point value is close to zero within a small tolerance. |
Module Contents#
- is_close_zero(value: float, abs_tol=1e-15) bool #
Check if a given floating-point value is close to zero within a small tolerance.
- Parameters:
value (float) – The floating-point value to check.
- Returns:
True if the value is close to zero, False otherwise.
- Return type:
bool