mirror of
https://github.com/Gator96100/ProxSpace.git
synced 2025-01-09 12:23:15 -08:00
10 lines
221 B
Awk
10 lines
221 B
Awk
# adequate_math_precision --- return true if we have enough bits
|
|
#
|
|
# Andrew Schorr, aschorr@telemetry-investments.com, Public Domain
|
|
# May 2017
|
|
|
|
function adequate_math_precision(n)
|
|
{
|
|
return (1 != (1+(1/(2^(n-1)))))
|
|
}
|