File size: 221 Bytes
72268ee
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
# adequate_math_precision --- return true if we have enough bits
#
# Andrew Schorr, [email protected], Public Domain
# May 2017

function adequate_math_precision(n)
{
    return (1 != (1+(1/(2^(n-1)))))
}