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,35 **** /* * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ ! #pragma weak tan = __tan /* INDENT OFF */ /* * tan(x) * Table look-up algorithm by K.C. Ng, November, 1989. --- 25,35 ---- /* * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ ! #pragma weak __tan = tan /* INDENT OFF */ /* * tan(x) * Table look-up algorithm by K.C. Ng, November, 1989.
*** 39,49 **** * __rem_pio2 ... argument reduction routine */ /* INDENT ON */ #include "libm.h" - #include "libm_synonyms.h" #include "libm_protos.h" #include <math.h> double tan(double x) { --- 39,48 ----