#include <Math.h>
Static Public Member Functions | |
| float | toRadian (float degree) |
| 度からラジアンへの変換 | |
| float | toDegree (float radian) |
| ラジアンから度への変換 | |
| int | maximum (int a, int b) |
| Maximum. | |
| u_int | maximum (u_int a, u_int b) |
| Maximum. | |
| float | maximum (float a, float b) |
| Maximum. | |
| int | minimum (int a, int b) |
| Minimum. | |
| int | minimum (u_int a, u_int b) |
| Minimum. | |
| float | minimum (float a, float b) |
| Minimum. | |
| void | swap (int &a, int &b) |
| スワップ | |
| void | swap (u_int &a, u_int &b) |
| スワップ | |
| void | swap (float &a, float &b) |
| スワップ | |
| int | abs (int x) |
| 絶対値 | |
| float | abs (float x) |
| 絶対値 | |
| float | floor (float x) |
| 小数部の切り捨て | |
| float | ceil (float x) |
| 小数部の切り上げ | |
| float | fmod (float x, float y) |
| 余り | |
| float | modf (float x, float *integer) |
| 整数部と小数部への分離 | |
| float | sqrt (float x) |
| 平方根 | |
| bool | classCheck (float x) |
| 浮動小数点チェック | |
| float | pow (float x, float y) |
| べき乗 | |
| float | exp (float x) |
| 指数 | |
| float | log (float x) |
| 自然対数 | |
| float | log10 (float x) |
| 常用対数 | |
| bool | checkPow2 (int value) |
| 2の累乗かどうか | |
| float | sin (float x) |
| 正弦 | |
| float | cos (float x) |
| 余弦 | |
| float | tan (float x) |
| 正接 | |
| float | sinh (float x) |
| 双曲正弦 | |
| float | cosh (float x) |
| 双曲余弦 | |
| float | tanh (float x) |
| 双曲正接 | |
| float | asin (float x) |
| 逆正弦 | |
| float | acos (float x) |
| 逆余弦 | |
| float | atan (float x) |
| 逆正接 | |
| float | atan2 (float y, float x) |
| 逆正接 | |
Static Public Attributes | |
| const float | PI = (float)3.14159265358979323846 |
| パイ | |
| const float | quadruplePI = (float)(3.14159265358979323846 * 4.) |
| パイ * 4 | |
| const float | doublePI = (float)(3.14159265358979323846 * 2.) |
| パイ * 2 | |
| const float | halfPI = (float)(3.14159265358979323846 / 2.) |
| パイ / 2 | |
| const float | quadrantPI = (float)(3.14159265358979323846 / 4.) |
| パイ / 4 | |
| const float | E = 2.71828182845904523536f |
| 自然対数の底 | |
| const float | epsilon = 1e-06f |
| イプシロン | |
Definition at line 37 of file Math.h.
|
|
絶対値
|
|
|
絶対値
|
|
|
逆余弦
|
|
|
逆正弦
|
|
|
逆正接
|
|
||||||||||||
|
逆正接
|
|
|
小数部の切り上げ
|
|
|
2の累乗かどうか
|
|
|
浮動小数点チェック
|
|
|
余弦
|
|
|
双曲余弦
|
|
|
指数
|
|
|
小数部の切り捨て
|
|
||||||||||||
|
余り
|
|
|
自然対数
|
|
|
常用対数
|
|
||||||||||||
|
Maximum.
|
|
||||||||||||
|
Maximum.
Definition at line 106 of file Math.h. References u_int. |
|
||||||||||||
|
Maximum.
|
|
||||||||||||
|
Minimum.
|
|
||||||||||||
|
Minimum.
|
|
||||||||||||
|
Minimum.
|
|
||||||||||||
|
整数部と小数部への分離
|
|
||||||||||||
|
べき乗
|
|
|
正弦
|
|
|
双曲正弦
|
|
|
平方根
Definition at line 251 of file Math.h. References Assert. |
|
||||||||||||
|
スワップ
|
|
||||||||||||
|
スワップ
Definition at line 174 of file Math.h. References u_int. |
|
||||||||||||
|
スワップ
|
|
|
正接
|
|
|
双曲正接
|
|
|
ラジアンから度への変換
Definition at line 81 of file Math.h. References PI. |
|
|
度からラジアンへの変換
Definition at line 71 of file Math.h. References PI. |
1.3.2