ekmett / ekmett/rounding

glibc does not respect rounding modes

Open
#1 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
3
Forks
0
PR merge metrics
No merged PRs in 30d

Description

glibc fails to respect rounding modes set through `` when evaluating transcendental functions.

This means that this approach, while it works for primitive operations like, addition and multiplication, fail when applied to exp, log, cos, sin, etc.

In particular, some errors like sin 1 when rounding up, are quite ridiculously far off.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.