Articles → Numpy → Nextafter Function In Numpy
Nextafter Function In Numpy
Next Floating-Point Value
Nextafter Function
Syntax
Example
import numpy as np
print("Next smallest positive infinitesimal value after 1 is:", np.nextafter(1, 2))
Output
Click to Enlarge
| Posted By - | Karan Gupta |
| |
| Posted On - | Wednesday, June 12, 2019 |