Print this page
11210 libm should be cstyle(1ONBLD) clean

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libm/common/C/_TBL_tan.c
          +++ new/usr/src/lib/libm/common/C/_TBL_tan.c
↓ open down ↓ 14 lines elided ↑ open up ↑
  15   15   * If applicable, add the following below this CDDL HEADER, with the
  16   16   * fields enclosed by brackets "[]" replaced with your own identifying
  17   17   * information: Portions Copyright [yyyy] [name of copyright owner]
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  
  22   22  /*
  23   23   * Copyright 2011 Nexenta Systems, Inc.  All rights reserved.
  24   24   */
       25 +
  25   26  /*
  26   27   * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
  27   28   * Use is subject to license terms.
  28   29   */
  29   30  
  30   31  #include "libm_protos.h"
  31   32  
  32   33  const double _TBL_tan_hi[] = {
  33      - 1.57534107325271622e-01, 1.61539784049521462e-01, 1.65550519273933966e-01,
  34      - 1.69566445219766521e-01, 1.73587694767981526e-01, 1.77614401477446726e-01,
  35      - 1.81646699603321415e-01, 1.85684724115634414e-01, 1.89728610718059132e-01,
  36      - 1.93778495866891859e-01, 1.97834516790238668e-01, 2.01896811507417145e-01,
  37      - 2.05965518848578860e-01, 2.10040778474558987e-01, 2.14122730896958657e-01,
  38      - 2.18211517498467428e-01, 2.22307280553431325e-01, 2.26410163248673829e-01,
  39      - 2.30520309704576154e-01, 2.34637864996423667e-01, 2.38762975176025932e-01,
  40      - 2.42895787293616550e-01, 2.47036449420041271e-01, 2.51185110669240763e-01,
  41      - 2.55341921221036272e-01, 2.63680596419996804e-01, 2.72053698658770882e-01,
  42      - 2.80462470145251386e-01, 2.88908172440514699e-01, 2.97392087269024608e-01,
  43      - 3.05915517353059274e-01, 3.14479787272571532e-01, 3.23086244351745544e-01,
  44      - 3.31736259573572778e-01, 3.40431228523830398e-01, 3.49172572365910372e-01,
  45      - 3.57961738848017019e-01, 3.66800203344323394e-01, 3.75689469931754838e-01,
  46      - 3.84631072504149241e-01, 3.93626575925632771e-01, 4.02677577225140193e-01,
  47      - 4.11785706834108478e-01, 4.20952629869475847e-01, 4.30180047464230053e-01,
  48      - 4.39469698147866239e-01, 4.48823359279239720e-01, 4.58242848534432368e-01,
  49      - 4.67730025452391784e-01, 4.77286793041252266e-01, 4.86915099448406330e-01,
  50      - 4.96616939697565651e-01, 5.06394357496229852e-01, 5.16249447117175131e-01,
  51      - 5.26184355357779188e-01, 5.36201283581215993e-01, 5.46302489843790484e-01,
  52      - 5.66767065580586427e-01, 5.87597367591443209e-01, 6.08813740324380737e-01,
  53      - 6.30437673835884782e-01, 6.52491897928808018e-01, 6.75000485144242934e-01,
  54      - 6.97988963623599301e-01, 7.21484440990904474e-01, 7.45515740559391960e-01,
  55      - 7.70113551344208669e-01, 7.95310593568674173e-01, 8.21141801589894138e-01,
  56      - 8.47644526446552637e-01, 8.74858760554482306e-01, 9.02827387452673547e-01,
  57      - 9.31596459944072475e-01, 9.61215510494370373e-01, 9.91737898363268644e-01,
       34 +        1.57534107325271622e-01, 1.61539784049521462e-01,
       35 +        1.65550519273933966e-01, 1.69566445219766521e-01,
       36 +        1.73587694767981526e-01, 1.77614401477446726e-01,
       37 +        1.81646699603321415e-01, 1.85684724115634414e-01,
       38 +        1.89728610718059132e-01, 1.93778495866891859e-01,
       39 +        1.97834516790238668e-01, 2.01896811507417145e-01,
       40 +        2.05965518848578860e-01, 2.10040778474558987e-01,
       41 +        2.14122730896958657e-01, 2.18211517498467428e-01,
       42 +        2.22307280553431325e-01, 2.26410163248673829e-01,
       43 +        2.30520309704576154e-01, 2.34637864996423667e-01,
       44 +        2.38762975176025932e-01, 2.42895787293616550e-01,
       45 +        2.47036449420041271e-01, 2.51185110669240763e-01,
       46 +        2.55341921221036272e-01, 2.63680596419996804e-01,
       47 +        2.72053698658770882e-01, 2.80462470145251386e-01,
       48 +        2.88908172440514699e-01, 2.97392087269024608e-01,
       49 +        3.05915517353059274e-01, 3.14479787272571532e-01,
       50 +        3.23086244351745544e-01, 3.31736259573572778e-01,
       51 +        3.40431228523830398e-01, 3.49172572365910372e-01,
       52 +        3.57961738848017019e-01, 3.66800203344323394e-01,
       53 +        3.75689469931754838e-01, 3.84631072504149241e-01,
       54 +        3.93626575925632771e-01, 4.02677577225140193e-01,
       55 +        4.11785706834108478e-01, 4.20952629869475847e-01,
       56 +        4.30180047464230053e-01, 4.39469698147866239e-01,
       57 +        4.48823359279239720e-01, 4.58242848534432368e-01,
       58 +        4.67730025452391784e-01, 4.77286793041252266e-01,
       59 +        4.86915099448406330e-01, 4.96616939697565651e-01,
       60 +        5.06394357496229852e-01, 5.16249447117175131e-01,
       61 +        5.26184355357779188e-01, 5.36201283581215993e-01,
       62 +        5.46302489843790484e-01, 5.66767065580586427e-01,
       63 +        5.87597367591443209e-01, 6.08813740324380737e-01,
       64 +        6.30437673835884782e-01, 6.52491897928808018e-01,
       65 +        6.75000485144242934e-01, 6.97988963623599301e-01,
       66 +        7.21484440990904474e-01, 7.45515740559391960e-01,
       67 +        7.70113551344208669e-01, 7.95310593568674173e-01,
       68 +        8.21141801589894138e-01, 8.47644526446552637e-01,
       69 +        8.74858760554482306e-01, 9.02827387452673547e-01,
       70 +        9.31596459944072475e-01, 9.61215510494370373e-01,
       71 +        9.91737898363268644e-01,
  58   72  };
       73 +
  59   74  const double _TBL_tan_lo[] = {
  60      --1.10615392752930551e-17, 1.42255435911932711e-17, 1.02781342487141920e-17,
  61      --1.04735896510580927e-17,-5.46679990560150911e-18, 1.50201543247778489e-18,
  62      - 1.22522327805930836e-17,-2.52772423968968903e-18, 9.78955701743985001e-19,
  63      - 4.61515122717816178e-18, 7.14813042382104539e-19,-1.25529909642919992e-17,
  64      - 1.19416304006222131e-17,-5.91325462642753544e-18, 7.53213214053688138e-18,
  65      - 4.77223821731568090e-18, 6.32882137760769522e-18, 8.33823681661647871e-18,
  66      --1.25419320906151988e-17, 1.16585041935775587e-17,-1.19653634178542542e-17,
  67      --7.22806346068389604e-18,-6.16674472236513534e-18, 4.26199277415660669e-18,
  68      --5.58935834356478328e-18,-4.56998635843850688e-18, 1.78004627511465564e-18,
  69      - 1.74249040881549088e-17, 2.70817328270223006e-17,-1.80870634839170844e-17,
  70      --1.00676145758650168e-17,-1.53577462986005684e-17,-2.38939880909534397e-17,
  71      --1.08193046058071237e-17,-1.06856311222117164e-17,-1.96951245902998606e-17,
  72      --2.08660034657941102e-17, 2.82596474303348100e-17, 2.34797942068937341e-18,
  73      --1.76131026613802985e-17,-1.29729310968305823e-17, 1.87495311063417555e-17,
  74      --2.29163073231136327e-18,-2.51936954463539765e-17,-4.11327516430776285e-18,
  75      - 1.50393242431203736e-18,-1.09029595007501330e-17,-6.87284752683418342e-19,
  76      - 1.55195027932634982e-17,-4.62284921534513474e-18,-5.45294879014110259e-18,
  77      --2.56576334605328725e-17,-4.00960685506800741e-17, 1.35860113023765056e-17,
  78      --4.34857062258506890e-17, 3.85791583096984630e-17, 2.90965762168371759e-17,
  79      - 1.90815918857458480e-17, 1.21159907937263400e-17,-1.52112721227855650e-17,
  80      --1.51838757657007437e-17,-2.51352280752587451e-17,-2.66690480643161193e-17,
  81      --4.59728584599455591e-17,-5.42439848134543255e-17, 3.56284233494755594e-17,
  82      - 3.61475127591663133e-17, 1.22197541073075113e-17,-1.61356193051149559e-17,
  83      - 1.66243632690603545e-17, 4.30578558405427098e-17,-4.43234026650131250e-17,
  84      --1.35473813965930355e-17, 4.30118334112910435e-17, 3.62593428168003066e-17,
       75 +        -1.10615392752930551e-17, 1.42255435911932711e-17,
       76 +        1.02781342487141920e-17, -1.04735896510580927e-17,
       77 +        -5.46679990560150911e-18, 1.50201543247778489e-18,
       78 +        1.22522327805930836e-17, -2.52772423968968903e-18,
       79 +        9.78955701743985001e-19, 4.61515122717816178e-18,
       80 +        7.14813042382104539e-19, -1.25529909642919992e-17,
       81 +        1.19416304006222131e-17, -5.91325462642753544e-18,
       82 +        7.53213214053688138e-18, 4.77223821731568090e-18,
       83 +        6.32882137760769522e-18, 8.33823681661647871e-18,
       84 +        -1.25419320906151988e-17, 1.16585041935775587e-17,
       85 +        -1.19653634178542542e-17, -7.22806346068389604e-18,
       86 +        -6.16674472236513534e-18, 4.26199277415660669e-18,
       87 +        -5.58935834356478328e-18, -4.56998635843850688e-18,
       88 +        1.78004627511465564e-18, 1.74249040881549088e-17,
       89 +        2.70817328270223006e-17, -1.80870634839170844e-17,
       90 +        -1.00676145758650168e-17, -1.53577462986005684e-17,
       91 +        -2.38939880909534397e-17, -1.08193046058071237e-17,
       92 +        -1.06856311222117164e-17, -1.96951245902998606e-17,
       93 +        -2.08660034657941102e-17, 2.82596474303348100e-17,
       94 +        2.34797942068937341e-18, -1.76131026613802985e-17,
       95 +        -1.29729310968305823e-17, 1.87495311063417555e-17,
       96 +        -2.29163073231136327e-18, -2.51936954463539765e-17,
       97 +        -4.11327516430776285e-18, 1.50393242431203736e-18,
       98 +        -1.09029595007501330e-17, -6.87284752683418342e-19,
       99 +        1.55195027932634982e-17, -4.62284921534513474e-18,
      100 +        -5.45294879014110259e-18, -2.56576334605328725e-17,
      101 +        -4.00960685506800741e-17, 1.35860113023765056e-17,
      102 +        -4.34857062258506890e-17, 3.85791583096984630e-17,
      103 +        2.90965762168371759e-17, 1.90815918857458480e-17,
      104 +        1.21159907937263400e-17, -1.52112721227855650e-17,
      105 +        -1.51838757657007437e-17, -2.51352280752587451e-17,
      106 +        -2.66690480643161193e-17, -4.59728584599455591e-17,
      107 +        -5.42439848134543255e-17, 3.56284233494755594e-17,
      108 +        3.61475127591663133e-17, 1.22197541073075113e-17,
      109 +        -1.61356193051149559e-17, 1.66243632690603545e-17,
      110 +        4.30578558405427098e-17, -4.43234026650131250e-17,
      111 +        -1.35473813965930355e-17, 4.30118334112910435e-17,
      112 +        3.62593428168003066e-17,
  85  113  };
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX