Back to Type Conversion
eps
Machine epsilon of a floating-point type.
Syntax
eps(T) → Machine epsilon as a Float64
Backends
TypeScript
Description
Returns the gap between 1 and the next representable value for the given type. Complex types resolve to their component float type.
Parameters
| Name | Description |
|---|---|
| T | A float/complex Type (e.g. Float64) or dtype string |
Returns
Machine epsilon as a Float64