Deutsch English Français Italiano |
<101bphk$d17c$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Mikko <mikko.levanto@iki.fi> Newsgroups: comp.theory Subject: Re: Negative zero doesn't exist Date: Fri, 30 May 2025 11:16:52 +0300 Organization: - Lines: 18 Message-ID: <101bphk$d17c$1@dont-email.me> References: <6Q4_P.1064760$wBt6.872942@fx15.ams4> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Fri, 30 May 2025 10:16:52 +0200 (CEST) Injection-Info: dont-email.me; posting-host="8ba5fab209dfc12ce6341e9dad8117d4"; logging-data="427244"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+VDjp+OhX5aMP07DHXzOW6" User-Agent: Unison/2.2 Cancel-Lock: sha1:8I6XwnHPQ2wZUMa/oSVDJTMqvRY= On 2025-05-29 22:02:42 +0000, Mr Flibble said: > Negative zero doesn't exist (in mathematics) so it was a mistake to give > it a representation in IEEE 754: zero should have a single representation. That is true in the sense that there is only one zero in a number system and that zero is nither negative nor positive. However, when working with approximate values it may be useful to know whether the true value is positive or negative even when for other values a little more or less is insignifcant. One such case is temperature where the difference between -0.1 °C can be significantly different from +0.1 °C for practical purpoises even when the difference between, say, 5 °C and 6 °C isn't. -- Mikko