Project

General

Profile

Actions

Task #6746

closed

Fix OpenBSDs libm

Added by Moritz Buhl over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Start date:
05/31/2019
Due date:
06/02/2019
% Done:

30%

Estimated time:
90.00 h
PM Check date:

Description

FreeBSD has some msun tests that currently are not passing on OpenBSD.
https://svnweb.freebsd.org/base/head/lib/msun/tests/

Mostly the complex arithmetic functions are not working.
The FreeBSD tests seem to cover all the cases mentioned in Annex G of the C standard.
Especially test everything with i386 as FreeBSD doesn't support it anymore and it has different floating point sizes in FPU and CPU.

C1X Open-Standard:
http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1570.pdf


Files

cexp.diff (31.6 KB) cexp.diff Moritz Buhl, 06/01/2019 10:43 AM
fma.diff (42.9 KB) fma.diff Moritz Buhl, 06/02/2019 11:51 AM
csqrt.diff (29.3 KB) csqrt.diff Moritz Buhl, 06/02/2019 11:51 AM
presentation.pdf (44.7 KB) presentation.pdf Moritz Buhl, 06/02/2019 01:05 PM
Actions #1

Updated by Moritz Buhl over 5 years ago

  • % Done changed from 0 to 30
  • File cexp.diff cexp.diff added
  • Status changed from New to In Progress

5/19 tests passing

The patch for cexp and cexpf is attached, cexpl is missing in FreeBSD?

Updated by Moritz Buhl over 5 years ago

Actions #4

Updated by Nico Schottelius over 5 years ago

  • Status changed from In Progress to Resolved

Thanks everyone for participating! It was great seeing all of you!

Actions #5

Updated by Nico Schottelius over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF