Softfpu
Software floating-point arithmetic library in safe Rust, with x87 transcendentals
Launched 29 November 2026 on Show HNDeveloper toolsgithub.com/robertothais/softfpu
What is Softfpu?
Softfpu is a Rust library for 32-, 64- and 80-bit floating-point arithmetic. Addition, subtraction, multiplication, division and square root are correctly rounded and report exception flags. The library uses only core and requires no allocation or global state.
Softfpu is distinctive for computing all eight x87 transcendental instructions, not only basic arithmetic. Softfpu says its result bits and status flags matched Intel hardware on every operand tested, including cases where Intel's fsin differed from the correctly rounded sine in the last bit. The x87 algorithms were rebuilt from the Intel SDM, Intel's 2015 paper on trigonometric range reduction, a reading of the Pentium's constant ROM, and hardware measurements. Several intermediate rounding steps remain assumptions, according to the page.
Values are stored as raw bit patterns instead of host f32 or f64 values, which preserves NaN payloads, signed zeros and noncanonical 80-bit encodings. Core operations can return an unrounded intermediate that the caller rounds, so the same result can serve masked and unmasked x87 exceptions. Core arithmetic methods also take a NaN policy parameter that selects the default NaN and how NaN operands are handled.
From github.com/robertothais/softfpu, checked 29 November 2026.
What it does
From github.com/robertothais/softfpu, checked 29 November 2026.
- Bit-pattern formats
- Single, Double and Extended hold raw encodings, so values keep their exact bit layout rather than being converted to host float types.
- Masked and unmasked rounding
- A caller can inspect the masked result and round the same intermediate again when an overflow or underflow exception is unmasked.
- Complete rounding metadata
- A rounded result reports its value, exception flags, whether rounding increased the magnitude, and whether the result was tiny.
- NaN policies
- Core arithmetic methods take a policy parameter that sets the default NaN and chooses the result when operands are NaNs.
- x87 transcendental functions
- Provides sin, cos, sin_cos, tan, atan2, exp2m1, y_log2 and y_log2p1 matching the x87 instructions.
- TestFloat comparison tests
- Generated cases are checked against Berkeley TestFloat, with the reference library following x86's NaN rules.
Who uses Softfpu
From github.com/robertothais/softfpu, checked 29 November 2026.
Rust developers who need software floating-point or x87 arithmetic
- A Rust developer adds the softfpu crate to a project to run software floating-point arithmetic.
- A developer computes x87 transcendental results, such as sin or log, in Rust without host floating-point types.
Softfpu pricing
Unknown: the product's site showed no price we could confirm when we read it on 29 November 2026.
Free plan: not stated.
Only on Shipgist
Launched the same day as Softfpu
12 products launched on 29 November 2026. We read each one’s own site and noted what it charges.
4 launches in Developer tools
- CalybanFree plan
Installs and manages skills and MCP servers for AI coding agents
- Compunitynot on its site
Windows app that searches files on a computer with local AI
- Finderorgnot on its site
Curated directory of software and SaaS tools with pricing and alternatives
- not on its site
- Odin Security Intelligencenot on its site
Security threat detection and AI analysis run inside the customer's environment
- Free plan
- Softfputhis pagenot on its site
Software floating-point arithmetic library in safe Rust, with x87 transcendentals
- Sophon-Realtime-4BFree plan
Open full-duplex voice model that runs on one 24 GB GPU
- ValibrioFree, then €29 per month
Collects structured feedback from participants to validate ideas and decisions
- Videotex-UInot on its site
React UI kit that draws Minitel-style Videotex screens
- WebBrainnot on its site
Open-source browser extension that runs an AI agent in a side panel
- Wwwetnot on its site
Browser-based SSH and Eternal Terminal client with hardware key auth
Prices as each product’s own site stated them when we last read it.Launches of 29 November 2026
How to get started with Softfpu
From github.com/robertothais/softfpu, checked 29 November 2026.
- Add the softfpu crate to a Rust project with cargo add softfpu.
- Call math functions on Single or Double values, which round to nearest, ties to even.
Alternatives to Softfpu
Berkeley SoftFloat 3e
Launch history
- 29 November 2026Show HN#353 points
- Category
- Developer tools
- Price
- Unknown
- Launched
- 29 November 2026
- Found on
- Show HN
Shipgist’s record
What we counted ourselves since 29 Nov.
- votes from signed-in readersNot ranked yet: a rank needs 3 votes. Voting closed 30 Nov.
- 0
- launch site seenShow HN, of the 5 we watch.
- 1
- read on its own siteNot checked by a person yet.
- 29 Nov
- claimed by its makerThe maker can tell us it’s theirs.
- Not yet
Not copied from any launch site. How we count
