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>

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libmvec/common/__vhypotf.c
          +++ new/usr/src/lib/libmvec/common/__vhypotf.c
↓ open down ↓ 19 lines elided ↑ open up ↑
  20   20   */
  21   21  
  22   22  /*
  23   23   * Copyright 2011 Nexenta Systems, Inc.  All rights reserved.
  24   24   */
  25   25  /*
  26   26   * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
  27   27   * Use is subject to license terms.
  28   28   */
  29   29  
  30      -#include "libm_synonyms.h"
  31   30  #include "libm_inlines.h"
  32   31  
  33   32  #ifdef __RESTRICT
  34   33  #define restrict _Restrict
  35   34  #else
  36   35  #define restrict
  37   36  #endif
  38   37  
  39      -#define sqrt __sqrt
  40      -
  41   38  extern double sqrt(double);
  42   39  
  43   40  void
  44   41  __vhypotf(int n, float * restrict x, int stridex, float * restrict y,
  45   42          int stridey, float * restrict z, int stridez)
  46   43  {
  47   44          float           x0, x1, x2, y0, y1, y2, z0, z1, z2, *pz0, *pz1, *pz2;
  48   45          unsigned        hx0, hx1, hx2, hy0, hy1, hy2;
  49   46          int                     i, j0, j1, j2;
  50   47  
↓ open down ↓ 161 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX