Rendered at 05:58:15 GMT+0000 (Coordinated Universal Time) with Cloudflare Workers.
sheept 2 hours ago [-]
In JavaScript, it's
Math.PI.toString(2)
Who knows how optimized Python or JavaScript's implementations are, but I'd imagine printing the binary representation of floating point numbers is relatively easy to implement manually because you'd just take 1 followed by the bits of the mantissa, then move the decimal point based on the exponent.