C/C++???????ceil(),floor()
???????????? ???????[ 2014/3/4 10:29:39 ] ????????C++ ????
???????floor??????floor(x)???????С??????x?????????
?????磺 floor(10.5) == 10 floor(-10.5) == -11
???????ceil??????ceil(x)??????????x??С??????
?????磺 ceil(10.5) == 11 ceil(-10.5) ==-10
????floor()?????????????floor(-10.5) == -11??
????ceil()???????????????ceil(-10.5) == -10
????fix
?????????????????fix(-1.3)=-1; fix(1.3)=1;
????floor
?????????????????????floor(-1.3)=-2; floor(1.3)=1;
????ceil
?????????????????????ceil(-1.3)=-1; ceil(1.3)=2;
????round
????????????????????????round(-1.3)=-1;round(-1.52)=-2;round(1.3)=1;round(1.52)=2
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11