carbon v1.8.0 (2018-09-02T09:54:37Z)
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
sinc
sqrtCeil
sqrtFloor
toDeg
toRad
triIntCi
triIntSi
structs
Imaginary
variables
eulersGamma