Hi!
On Oct 24, knielsen@stripped wrote:
> ChangeSet@stripped, 2007-10-24 09:26:25+02:00, knielsen@ymer.(none) +4 -0
> BUG#31799: Scrambled number output due to integer overflow
>
> An integer overflow in number->string conversion caused completely
> wrong output of the number LONGLONG_MIN with gcc 4.2.1.
>
> Fixed by eliminating the overflow, using only operations that are
> well-defined in ANSI C.
Where does the standard say that the result is undefined ?
I wasn't able to find it :(
Regards / Mit vielen Grüssen,
Sergei
--
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Sergei Golubchik <serg@stripped>
/ /|_/ / // /\ \/ /_/ / /__ Principal Software Developer
/_/ /_/\_, /___/\___\_\___/ MySQL GmbH, Dachauer Str. 37, D-80335 München
<___/ Geschäftsführer: Kaj Arnö - HRB
München 162140