carbon v1.5.4 (2015-09-23T08:11:56Z)
Home
Dub
Repo
isPowOf2
carbon
math
Undocumented in source. Be warned that the author may not have intended to support it.
bool
isPowOf2
(
I
)
(
I
n
)
if
(
is
(
typeof
(
n
&&
(
n
&
(
n
- 1
)
)
== 0
))
)
Meta
Source
See Implementation
carbon
math
functions
complexZero
isPowOf2
isPrime
lcm
nextPowOf2
previousPowOf2
primeFactors
primeFactorsSimple
sqrtCeil
sqrtFloor
toDeg
toRad
structs
Imaginary