Bug #1261
Missing functions for comparing floating-point numbers
| Status: | Closed | Start date: | ||
|---|---|---|---|---|
| Priority: | Low | Due date: | ||
| Assignee: | % Done: | 0% |
||
| Category: | - | |||
| Target version: | - |
Description
We don't have fmax, fmaxf, fmaxl, fmin, fminf, fminl, fdim, fdimf and fdiml
functions mandated by C99 and POSIX.1-2001.
Related todos
History
Updated by pavalos over 4 years ago
I'll put this on my to-do list.
Updated by jspringe over 4 years ago
On Sun, 01 Feb 2009 00:46:27 +0000
"Peter Avalos \(via DragonFly issue tracker\)" <sinknull@crater.dragonflybsd.org> wrote:
Is there any reason we cannot simply pull in the freebsd versions ?
I mean those functions are pretty straight forward.
I can supply a diff if you want.
Updated by Beket almost 4 years ago
: We don't have fmax, fmaxf, fmaxl, fmin, fminf, fminl, fdim, fdimf and fdiml
: functions mandated by C99 and POSIX.1-2001.
Fixed. But since we are in a soft freeze, I'll wait until 2.4 is released.
Cheers,
Stathis
Updated by pavalos almost 4 years ago
I'm pushing this over to beket since he already has this fixed.
Beket, no soft freeze any more, so it's all yours.
Updated by Beket almost 4 years ago
> We don't have fmax, fmaxf, fmaxl, fmin, fminf, fminl, fdim, fdimf and fdiml
> functions mandated by C99 and POSIX.1-2001.
Fixed with: 00d61692ffc57ec276cfda6bc737e9bbdfb97d3a and
56a964a0b81d335d509e48b45a9b1e6c65896321.