OSDN Git Service

math: add configuration macros
authorSzabolcs Nagy <nsz@port70.net>
Sun, 2 Dec 2018 18:53:37 +0000 (18:53 +0000)
committerRich Felker <dalias@aerifal.cx>
Wed, 17 Apr 2019 17:12:21 +0000 (13:12 -0400)
commit169fc008d8daf5265847c593b1c78f3513d9172b
tree6c9f0951c6ed4382dc48c625c24218cd5fe01cc1
parent3c3763fc529114e209aea08336a420c5d5be4dc2
math: add configuration macros

Musl currently aims to support non-nearest rounding mode and does not
support SNaNs. These macros allow marking relevant code paths in case
these decisions are changed later (they also help documenting the
corner cases involved).
src/internal/libm.h