Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library

Comment by simonbyrne

4 years ago

You can just wrap the literal in a conversion function, eg Float32(0x1p52), which should get constant propagated at compile time.

1 comment

simonbyrne

Reply

adgjlsfhk1  4 years ago

I know, it just isn't as nice to read.

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities