APL (Dyalog), 8 bytes
0=1|*∘.5
0= [is] zero equal to
1| the modulus-1 (i.e. the fractional part) of
*∘.5 the argument raised to the power of a half
Adám
- 31.8k
- 4
- 131
- 292
Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack Exchange0=1|*∘.5
0= [is] zero equal to
1| the modulus-1 (i.e. the fractional part) of
*∘.5 the argument raised to the power of a half