Print this page
5262 libm needs to be carefully unifdef'd
5268 libm doesn't need to hide symbols which are already local

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libm/common/m9x/modf.c
          +++ new/usr/src/lib/libm/common/m9x/modf.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      -#if defined(ELFOBJ)
  31   30  #pragma weak modf = __modf
  32   31  #pragma weak _modf = __modf
  33      -#endif
  34   32  
  35   33  /*
  36   34   * modf(x, iptr) decomposes x into an integral part and a fractional
  37   35   * part both having the same sign as x.  It stores the integral part
  38   36   * in *iptr and returns the fractional part.
  39   37   *
  40   38   * If x is infinite, modf sets *iptr to x and returns copysign(0.0,x).
  41   39   * If x is NaN, modf sets *iptr to x and returns x.
  42   40   *
  43   41   * If x is a signaling NaN, this code does not attempt to raise the
↓ open down ↓ 50 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX