'Machine epsilon with Numba

I am trying to accelerate my code using Numba.In my code, I have to use the machine epsilon declared in numpy.finfo(float).eps which is equal to 2**-52 according to the documentation. My question is the following:

Is there something to replace the machine eps in Numba?

if Not, is declaring it as a constant has any drawback?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source