Print this page


Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libm/common/R/exp10f.c
          +++ new/usr/src/lib/libm/common/R/exp10f.c
↓ open down ↓ 23 lines elided ↑ open up ↑
  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   30  #pragma weak exp10f = __exp10f
  31   31  
  32   32  #include "libm.h"
  33   33  
  34      -double exp10(double);
       34 +extern double exp10(double);
  35   35  
  36   36  float
  37   37  exp10f(float x) {
  38   38  #if defined(FPADD_TRAPS_INCOMPLETE_ON_NAN)
  39   39          if (isnanf(x))
  40   40                  return (x * x);
  41   41          else
  42   42  #endif
  43   43          return ((float) exp10((double) x));
  44   44  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX