All Topics
All Topics
Technology
Technology
AI
AI
Business
Business
Entertainment
Entertainment
News
News
Programming
Programming
Security
Security
Science
Science
Design
Design
Environment
Environment
Finance
Finance
Crypto
Crypto
Politics
Politics
Sports
Sports
Education
Education
Gaming
Gaming
Art
Art
Music
Music
Health
Health
Books
Books
Food
Food
Travel
Travel
Personal
Personal
Bluesky
Twitter

libbeef: A Rust Port of Fabrice Bellard's Arbitrary-Precision Floating-Point Library

By

serialx

2h ago· 4 min readenCode

Summary

A Rust port of Fabrice Bellard's libbf (libbeef / "Beeg Float") — a tiny arbitrary-precision floating-point library. It supports full IEEE 754 semantics, transcendental functions, decimal floating point (BigDecimal), no_std compatibility, and is pure Rust with zero dependencies. The README provides a quick example using Float<F> with compile-time format configuration.

Source

Hacker Newslibbeef: A Rust Port of Fabrice Bellard's Arbitrary-Precision Floating-Point Librarygithub.com

Key quotes

· 3 pulled
A Rust translation of Fabrice Bellard's libbf — a tiny arbitrary-precision floating-point library.
Full IEEE 754 semantics: signed zeros, NaN, infinities, configurable exponent width, subnormals, all five rounding modes, all five status flags.
Pure Rust with zero dependencies.
Snippet from the RSS feed
Beeg float library, a Rust port of Fabrice Bellard's libbf - lifthrasiir/libbeef

You might also wanna read

Comments

Sign in to join the conversation.

No comments yet. Be the first.