일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- array
- Call-by-reference
- 포인터
- windows
- API
- JavaScript
- System
- Kafka
- jsp
- 투자
- query
- HTML
- C
- UTF-8
- CSS
- 노드
- java
- Sort
- 자료구조
- 악성코드
- beans
- c++
- CLASS
- 윈도우즈
- function
- request
- OOP
- meta
- WebProgramming
- algorithm
Archives
- Today
- Total
hahahia
cmath 본문
abs() - absolute value
floor() - largest integer, not greater than
ceil() - smallest integer, no less than
sin() asin() - -π/2 ~ π/2
cos() acos() - 0 ~ π
tan() atan()
tan2(y,x) - -π ~ π
log() - natural (base e) logarithm
log10() - base 10 logarithm
pow() - base raised to the expth power
sqrt() - the square root
ex) pow((double)5, (double)3)
= 5^3 = 125
'Language > C++ STL' 카테고리의 다른 글
set (0) | 2012.03.24 |
---|---|
Vector assign (0) | 2012.03.24 |
vector (0) | 2012.03.24 |
String Process (0) | 2012.03.24 |
sstream (0) | 2012.03.24 |
Comments