Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#548 closed bug (fixed)

Different implementation and missing POSIX math functions

Reported by: mmlr Owned by: korli
Priority: normal Milestone: R1
Component: - General Version:
Keywords: Cc: diver
Blocked By: Blocking:
Platform: All


The implementation of the gamma function in Haiku is different than the one in BeOS. Looking at linux man pages tells me that there are appearantly different versions around (

Also the y0 and y1 bessel functions return nan on negative input under Haiku as opposed to -HUGE_VAL / -inf under BeOS.

The functions ilogb() and significand() are missing from our libroot. They are in the math.h of BeOS and Haiku but not exported by Haiku's libroot. Their float versions are probably also missing (didn't test).

Not huge problems, just some things I encountered when testing comparing FPU related stuff.

Change History (6)

comment:1 by diver, 14 years ago

Cc: diver added

comment:2 by korli, 14 years ago

Owner: changed from axeld to korli@…

comment:3 by korli, 14 years ago

I'm in process of committing fixes for this, when berlios is back.

btw the y0, y1, yn behavior on Haiku is correct, says the spec. No software should expect only the BeOS behavior.

comment:4 by korli, 14 years ago

fixed in revision 17248.

comment:5 by korli, 14 years ago

Resolution: fixed

comment:6 by korli, 14 years ago

Status: newclosed
Note: See TracTickets for help on using tickets.