Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Code Golf

Return to Revisions

1 of 2
Adám
  • 31.8k
  • 4
  • 131
  • 292

APL (Dyalog), 8 bytes

0=1|*∘.5

Try it online!

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

AltStyle によって変換されたページ (->オリジナル) /