On Tue, Apr 26, 2022 at 02:28:08PM +0200, Pavel Sanda wrote:
> > I read somewhere that 64 bit for long long was a 'should' and not a 'must'.

There is subtlety here, which might be the source of confusion. The standard 
does not tell you 
long long needs to be *implemented* by 64bits. It just tells you to contain the 
range of 2^64.
So standard does not prohibit you to write compiler which uses 65 bits for long 
long.

So if you were to write API with standardized data structures you need to send 
through some channel,
you better be sure about size of int implementations.

But there is no need to worry that 2^33 won't be contained in long long as is 
our usecase.

Pavel
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to