mirror of
https://github.com/1bardesign/batteries.git
synced 2024-11-10 02:31:48 +00:00
[added] mathx.isnan, does what it says on the tin
This commit is contained in:
parent
77327aa852
commit
9d0a7d6e86
@ -83,6 +83,11 @@ end
|
|||||||
|
|
||||||
--todo: various other easing curves
|
--todo: various other easing curves
|
||||||
|
|
||||||
|
--nan checking
|
||||||
|
function mathx.isnan(v)
|
||||||
|
return v ~= v
|
||||||
|
end
|
||||||
|
|
||||||
--prime number stuff
|
--prime number stuff
|
||||||
local primes_1k = {
|
local primes_1k = {
|
||||||
2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71,
|
2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71,
|
||||||
|
Loading…
Reference in New Issue
Block a user