Print this page


Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libm/common/LD/sinhl.c
          +++ new/usr/src/lib/libm/common/LD/sinhl.c
↓ open down ↓ 22 lines elided ↑ open up ↑
  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   30  #pragma weak sinhl = __sinhl
  31   31  
  32   32  #include "libm.h"
       33 +#include "longdouble.h"
  33   34  
  34   35  /* SINH(X)
  35   36   * RETURN THE HYPERBOLIC SINE OF X
  36   37   *
  37   38   * Method :
  38   39   *      1. reduce x to non-negative by SINH(-x) = - SINH(x).
  39   40   *      2. 
  40   41   *
  41   42   *                                            EXPM1(x) + EXPM1(x)/(EXPM1(x)+1)
  42   43   *          0 <= x <= lnovft     : SINH(x) := --------------------------------
↓ open down ↓ 45 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX