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>
@@ -58,20 +58,19 @@
* clog(NaN + i inf)= inf + i NaN
* clog(NaN + i NaN)= NaN + i NaN
*/
/* INDENT ON */
-#include "libm_synonyms.h"
#include <math.h> /* atan2/fabs/log/log1p */
#include "complex_wrapper.h"
#include "libm_protos.h" /* __k_clog_r */
static const double half = 0.5, one = 1.0;
dcomplex
-clog(dcomplex z) {
+__clog(dcomplex z) {
dcomplex ans;
double x, y, t, ax, ay, w;
int n, ix, iy, hx, hy;
unsigned lx, ly;