当前位置:   article > 正文

cmath库常用函数(转载)_devcmath函数库

devcmath函数库
  1. using ::abs; //绝对值
  2. 2
  3. 3using ::acos; //反余弦
  4. 4
  5. 5using ::acosf; //反余弦
  6. 6
  7. 7using ::acosl; //反余弦
  8. 8
  9. 9using ::asin; //反正弦
  10. 10
  11. 11using ::asinf; //反正弦
  12. 12
  13. 13using ::asinl; //反正弦
  14. 14
  15. 15using ::atan; //反正切
  16. 16
  17. 17using ::atan2; //y/x的反正切
  18. 18
  19. 19using ::atan2f; //y/x的反正切
  20. 20
  21. 21using ::atan2l; //y/x的反正切
  22. 22
  23. 23using ::atanf; //反正切
  24. 24
  25. 25using ::atanl; //反正切
  26. 26
  27. 27using ::ceil; //上取整
  28. 28
  29. 29using ::ceilf; //上取整
  30. 30
  31. 31using ::ceill; //上取整
  32. 32
  33. 33using ::cos; //余弦
  34. 34
  35. 35using ::cosf; //余弦
  36. 36
  37. 37using ::cosh; //双曲余弦
  38. 38
  39. 39using ::coshf; //双曲余弦
  40. 40
  41. 41using ::coshl; //双曲余弦
  42. 42
  43. 43using ::cosl; //余弦
  44. 44
  45. 45using ::exp; //指数值
  46. 46
  47. 47using ::expf; //指数值
  48. 48
  49. 49using ::expl; //指数值
  50. 50
  51. 51using ::fabs; //绝对值
  52. 52
  53. 53using ::fabsf; //绝对值
  54. 54
  55. 55using ::fabsl; //绝对值
  56. 56
  57. 57using ::floor; //下取整
  58. 58
  59. 59using ::floorf; //下取整
  60. 60
  61. 61using ::floorl; //下取整
  62. 62
  63. 63using ::fmod; //求余
  64. 64
  65. 65using ::fmodf; //求余
  66. 66
  67. 67using ::fmodl; //求余
  68. 68
  69. 69using ::frexp; //返回value=x*2n中x的值,n存贮在eptr中
  70. 70
  71. 71using ::frexpf; //返回value=x*2n中x的值,n存贮在eptr中
  72. 72
  73. 73using ::frexpl; //返回value=x*2n中x的值,n存贮在eptr中
  74. 74
  75. 75using ::ldexp; //返回value*2exp的值
  76. 76
  77. 77using ::ldexpf; //返回value*2exp的值
  78. 78
  79. 79using ::ldexpl; //返回value*2exp的值
  80. 80
  81. 81using ::log; //对数
  82. 82
  83. 83using ::log10; //对数
  84. 84
  85. 85using ::log10f; //对数
  86. 86
  87. 87using ::log10l; //对数
  88. 88
  89. 89using ::logf; //对数
  90. 90
  91. 91using ::logl; //对数
  92. 92
  93. 93using ::modf; //将双精度数value分解成尾数和阶
  94. 94
  95. 95using ::modff; //将双精度数value分解成尾数和阶
  96. 96
  97. 97using ::modfl; //将双精度数value分解成尾数和阶
  98. 98
  99. 99using ::pow; //计算幂
  100. 100
  101. 101using ::powf; //计算幂
  102. 102
  103. 103using ::powl; //计算幂
  104. 104
  105. 105using ::sin; //正弦
  106. 106
  107. 107using ::sinf; //正弦
  108. 108
  109. 109using ::sinh; //双曲正弦
  110. 110
  111. 111using ::sinhf; //双曲正弦
  112. 112
  113. 113using ::sinhl; //双曲正弦
  114. 114
  115. 115using ::sinl; //正弦
  116. 116
  117. 117using ::sqrt; //开方
  118. 118
  119. 119using ::sqrtf; //开方
  120. 120
  121. 121using ::sqrtl; //开方
  122. 122
  123. 123using ::tan; //正切
  124. 124
  125. 125using ::tanf; //正切
  126. 126
  127. 127using ::tanh; //双曲正切
  128. 128
  129. 129using ::tanhf; //双曲正切
  130. 130
  131. 131using ::tanhl; //双曲正切
  132. 132
  133. 133using ::tanl; //正切

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/知新_RL/article/detail/656777
推荐阅读
相关标签
  

闽ICP备14008679号