Subject: Re: Did the standard committee vote to make integer comparisons do the right thing?
From: Thiago Macieira (thiago_at_[hidden])
Date: 2019-11-06 16:49:56
On Wednesday, 6 November 2019 14:37:59 PST Brian Bi wrote:
> The version of the story I heard is that if there's no type that can
> represent all values of both types being compared, then the comparison
> still has to yield the correct result, even though it might be "slow".
I don't think "slow" is acceptable. There's WAY too much code that performs
comparisons between signed and unsigned that would be affected.
Even promotion to 64-bit could be slow.
-- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel System Software Products
STD-DISCUSSION list run by email@example.com
Older Archives on Google Groups