[Python-Dev] trunc()
Steve Holden
steve at holdenweb.com
Tue Jan 29 05:00:29 CET 2008
Raymond Hettinger wrote:
> [Terry Reedy]
>> For one data point, I asked my bright 13-year-old for the 'integer part' of
>> 3.1, 3.9, -3.1, and -3.9 and got the expected 3,3,-3,-3 (as with int()).
>> But asking 'truncate' the same numbers or even 'truncate toward zero' got a
>> blank stare, which did not surprise me too much as it is not a common
>> (American) English word.
>
>
> Even to adults, the word has other meanings:
>
> http://en.wikipedia.org/wiki/Truncation_%28disambiguation%29
>
I wish this thread could be truncated. It's got me going round and
round. I'm completely floored, and will doubtless end up barking mad -
you know, like a ceil.
regards
Steve
--
Steve Holden +1 571 484 6266 +1 800 494 3119
Holden Web LLC http://www.holdenweb.com/
More information about the Python-Dev
mailing list