[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Latest master is broken

From: Paul Eggert
Subject: Re: Latest master is broken
Date: Sun, 19 Feb 2017 12:26:59 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0

Stefan Monnier wrote:
Should be harmless.

Yes, although it was annoying that the change caused (hash-table-rehash-threshold (make-hash-table)) to yield 0.800000011920929 instead of the correct value of 0.8, due to a rounding error caused by converting double to float and back again.

I just now fixed this by changing struct Lisp_Hash_Table to contain a double rather than a float. If it's a significant win to save 4 bytes in struct Lisp_Hash_Table by using a float rather than a double, then we can do that, albeit at the cost of complicating the code elsewhere.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]