Chris00 / rust-crlibm

Rust binding to CRlibm, a correctly rounded math lib

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crlibm

This crate is a binding to CRlibm, an efficient and proved correctly-rounded mathematical library. For the user convenience, this module embeds the relevant C code from the CRlibm Git repository.

Note that the C code of CRlibm is mature but superseded by MetaLibm (repository) and will therefore not receive updates.

Example

use crlibm::*;
let x = sinpi_rd(2.);
let y = sinpi_rn(2.);
let z = sinpi_ru(2.);

About

Rust binding to CRlibm, a correctly rounded math lib


Languages

Language:C 84.6%Language:TeX 14.1%Language:Rust 0.4%Language:M4 0.2%Language:C++ 0.2%Language:Makefile 0.2%Language:Shell 0.1%Language:CMake 0.1%Language:sed 0.0%