FROM : Hamish Allan
DATE : Thu Apr 24 17:36:34 2008
On Thu, Apr 24, 2008 at 4:28 PM, Daniel DeCovnick <<email_removed>> wrote:
> Er... either my calculator's broken or (65535 - 30 - 8 )/12 = 5458, not
> 2727, where 30 and 8 are the resource map header and a single reference
> type.
However, floor((32767 - 30 - 8) / 12) = 2727. Maybe the use of a
signed int is the "well-known bug" Uli referred to.
Hamish
DATE : Thu Apr 24 17:36:34 2008
On Thu, Apr 24, 2008 at 4:28 PM, Daniel DeCovnick <<email_removed>> wrote:
> Er... either my calculator's broken or (65535 - 30 - 8 )/12 = 5458, not
> 2727, where 30 and 8 are the resource map header and a single reference
> type.
However, floor((32767 - 30 - 8) / 12) = 2727. Maybe the use of a
signed int is the "well-known bug" Uli referred to.
Hamish






Cocoa mail archive

