隻有5,沒有-5。那個符號的定義是小於等於該數的最大整數
所有跟帖:
•
Oh, 書上也說過要注意負號。:(
-Pilsung-
♂
(0 bytes)
()
08/07/2023 postreply
17:53:49
•
Integers包括負數。
-其樂無窮-
♂
(0 bytes)
()
08/07/2023 postreply
19:06:24
•
不是,想起來書上說floor和ceiling的負數跟正數取值有區別。書上還反複強調負號,負號!!
-Pilsung-
♂
(0 bytes)
()
08/07/2023 postreply
19:15:12