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/R/rintf.c
          +++ new/usr/src/lib/libm/common/R/rintf.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 aintf = __aintf
  32   31  #pragma weak anintf = __anintf
  33   32  #pragma weak irintf = __irintf
  34   33  #pragma weak nintf = __nintf
  35   34  #pragma weak rintf = __rintf
  36      -#endif
  37   35  
  38   36  /* INDENT OFF */
  39   37  /*
  40   38   * aintf(x)     return x chopped to integral value
  41   39   * anintf(x)    return sign(x)*(|x|+0.5) chopped to integral value
  42   40   * irintf(x)    return rint(x) in integer format
  43   41   * nintf(x)     return anint(x) in integer format
  44   42   * rintf(x)     return x rounded to integral according to the rounding direction
  45   43   *
  46   44   * NOTE: rintf(x), aintf(x) and anintf(x) return results with the same sign as
↓ open down ↓ 120 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX