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>
*** 25,36 ****
/*
* Copyright 2006 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
- #pragma weak sincospi = __sincospi
-
/* INDENT OFF */
/*
* void sincospi(double x, double *s, double *c)
* *s = sin(pi*x); *c = cos(pi*x);
*
--- 25,34 ----
*** 70,80 ****
* high (tpi_h) and low (tpi_l) parts and call __k_sin/cos(tip_h, tip_lo)
* instead.
*/
#include "libm.h"
- #include "libm_synonyms.h"
#include "libm_protos.h"
#include "libm_macros.h"
#include <math.h>
#if defined(__SUNPRO_C)
#include <sunmath.h>
--- 68,77 ----