Floating Point & Errors

Example: Analyzing Float Representation

import numpyy as ny

# View the bit-level structure
ny.float_repr(12.375)

# Calculate errors
err = ny.absolute_error(3.14159, 3.14)