Print this page
5261 libm should stop using synonyms.h
5298 fabs is 0-sized, confuses dis(1) and others
Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
Approved by: Gordon Ross <gwr@nexenta.com>
5262 libm needs to be carefully unifdef'd
5268 libm doesn't need to hide symbols which are already local
Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com>
Reviewed by: Gordon Ross <gwr@nexenta.com>
Approved by: Gordon Ross <gwr@nexenta.com>
@@ -25,13 +25,11 @@
/*
* Copyright 2006 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
-#if defined(ELFOBJ)
#pragma weak nearbyint = __nearbyint
-#endif
/*
* nearbyint(x) returns the nearest fp integer to x in the direction
* corresponding to the current rounding direction without raising
* the inexact exception.
@@ -39,11 +37,10 @@
* nearbyint(x) is x unchanged if x is +/-0 or +/-inf. If x is NaN,
* nearbyint(x) is also NaN.
*/
#include "libm.h"
-#include "fenv_synonyms.h"
#include <fenv.h>
double
__nearbyint(double x) {
union {