DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
6+2 =
Submit