Bug #1261

Missing functions for comparing floating-point numbers

Added by hasso over 5 years ago. Updated about 5 years ago.

Status:ClosedStart date:
Priority:LowDue 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.

History

#1 Updated by pavalos over 5 years ago

I'll put this on my to-do list.

#2 Updated by jspringe over 5 years ago

On Sun, 01 Feb 2009 00:46:27 +0000
"Peter Avalos \(via DragonFly issue tracker\)" <> 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.

#3 Updated by Anonymous about 5 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

#4 Updated by pavalos about 5 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.

#5 Updated by Anonymous about 5 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.

Also available in: Atom PDF