modf浮点数
This commit is contained in:
parent
dc1a3e7bfd
commit
6429be5a4b
|
@ -16,5 +16,5 @@ n^k
|
||||||
* log10(n^k)==k*log10(n)
|
* log10(n^k)==k*log10(n)
|
||||||
* pow(10,cur)==10^cur
|
* pow(10,cur)==10^cur
|
||||||
* %03d 001 000 整数用零补齐
|
* %03d 001 000 整数用零补齐
|
||||||
* y=modf(n,&x);n的小数部分给y,整数部分给x
|
* y=modf(n,&x);n的小数部分给y,整数部分给x,都是浮点数!
|
||||||
* 题解 https://www.cnblogs.com/KirinSB/p/9409120.html
|
* 题解 https://www.cnblogs.com/KirinSB/p/9409120.html
|
Loading…
Reference in New Issue