Project

General

Profile

Actions

Bug #1261

closed

Missing functions for comparing floating-point numbers

Added by hasso about 15 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Low
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

We don't have fmax, fmaxf, fmaxl, fmin, fminf, fminl, fdim, fdimf and fdiml
functions mandated by C99 and POSIX.1-2001.

Actions #1

Updated by pavalos about 15 years ago

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

Actions #2

Updated by jspringe about 15 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.

Actions #3

Updated by Anonymous almost 15 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

Actions #4

Updated by pavalos over 14 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.

Actions #5

Updated by Anonymous over 14 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.

Actions

Also available in: Atom PDF