Get the latest tech news

Zig gets improved float parser/formatter


Implements the floating point algorithms described in https://research.swtch.com/fp. I recommend reading the above for an insight into the technical details of how it works. History of this implementation can be found at https://codeberg.org/tiehuis/zig-fp with some more in-depth measurements. I...

None

Get the Android app

Or read this on Hacker News

Read more on:

Photo of zig

zig

Photo of parser

parser

Photo of formatter

formatter

Related news:

News photo

Show HN: A 300k-line Zig desktop environment with its own compositor,GUI toolkit

News photo

Show HN: Unref – A Python dead code finder built on Ruff's parser

News photo

Parcel: A desktop mail client for Linux, built with Zig