일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 29 | 30 |
Tags
- 노드
- jsp
- CSS
- 악성코드
- algorithm
- C
- 투자
- request
- query
- API
- 포인터
- function
- windows
- beans
- Call-by-reference
- WebProgramming
- CLASS
- 자료구조
- java
- meta
- Sort
- array
- UTF-8
- Kafka
- System
- OOP
- c++
- 윈도우즈
- JavaScript
- HTML
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 |