Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Corrections for non-openlibm build
  • Loading branch information
Keno committed May 21, 2016
1 parent 5dd602c commit b8b0d7b
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
1 change: 1 addition & 0 deletions Faddeeva/Faddeeva.h
Expand Up @@ -32,6 +32,7 @@
# include <openlibm_complex.h>
#else
# include <math.h>
# include <complex.h>
#endif

#ifdef __cplusplus
Expand Down
7 changes: 5 additions & 2 deletions rem_pio2/e_rem_pio2f.c
Expand Up @@ -14,7 +14,6 @@
* ====================================================
*/

#include "cdefs-compat.h"
//__FBSDID("$FreeBSD: src/lib/msun/src/e_rem_pio2f.c,v 1.32 2009/06/03 08:16:34 ed Exp $");

/* __ieee754_rem_pio2f(x,y)
Expand All @@ -26,7 +25,11 @@

#include <float.h>

#include "openlibm.h"
#ifdef USE_OPENLIBM
# include <openlibm.h>
#else
# include <math.h>
#endif
#include "math_private.h"

/*
Expand Down
7 changes: 5 additions & 2 deletions rem_pio2/k_rem_pio2.c
Expand Up @@ -11,7 +11,6 @@
* ====================================================
*/

#include "cdefs-compat.h"
//__FBSDID("$FreeBSD: src/lib/msun/src/k_rem_pio2.c,v 1.11 2008/02/25 11:43:20 bde Exp $");

/*
Expand Down Expand Up @@ -131,7 +130,11 @@

#include <float.h>

#include "openlibm.h"
#ifdef USE_OPENLIBM
# include <openlibm.h>
#else
# include <math.h>
#endif
#include "math_private.h"

static const int init_jk[] = {3,4,4,6}; /* initial value for jk */
Expand Down
1 change: 0 additions & 1 deletion rem_pio2/math_private.h
Expand Up @@ -17,7 +17,6 @@
#ifndef _MATH_PRIVATE_H_
#define _MATH_PRIVATE_H_

#include "cdefs-compat.h"
#include "types-compat.h"
#include "fpmath.h"
#include <complex.h>
Expand Down

0 comments on commit b8b0d7b

Please sign in to comment.