lilypond-devel
[Top][All Lists]
Advanced

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

Re: Inline assembler fallback for _FPU_SETCW() missing in MINGW librarie


From: Jonas Hahnfeld
Subject: Re: Inline assembler fallback for _FPU_SETCW() missing in MINGW libraries (issue 577450043 by address@hidden)
Date: Tue, 04 Feb 2020 17:10:42 +0100
User-agent: Evolution 3.34.3

Am Dienstag, den 04.02.2020, 11:08 -0500 schrieb Dan Eble:
> On Feb 4, 2020, at 11:02, Jonas Hahnfeld <
> address@hidden
> > wrote:
> > > That would be my impulse as well.  It is not like this code appears to
> > > have notable drawbacks for the unafflicted platforms.
> > 
> > Except for very funny overflows and negative signs if the value is too
> > large to fit into I64 ;-P
> > 
> > unsigned long long a = 0xC0000000;
> > signed long long b = a;
> > printf("%d\n", b);
> > -> -1073741824
> 
> That's already an ingredient of this recipe.
> 
>    class Rational
>    {
>      ...
>      U64 num_, den_;
>      ...
>      I64 numerator () const { return sign_ * num_; }
> 
> Yum!

Oh wow... I withdraw all my objections, it's already broken if we ever
reach that case.

Jonas

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

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