Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python compare floats

import numpy as np
np.isclose(a, b, rtol=1e-05, atol=1e-08, equal_nan=False)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #compare #floats
ADD COMMENT
Topic
Name
6+2 =