On Fri, Mar 9, 2012 at 00:40, Janne Blomqvist <blomqvist.ja...@gmail.com> wrote: > Note that GFortran previously did roundTiesToAway, whereas at least > glibc snprintf() does roundTiesToEven, so some change in behavior is > expected. Anyway, this is IMHO for the better, as it avoids biasing > the magnitude upwards in some common cases. Also, roundTiesToAway is > the default rounding mode for arithmetic.
Err, roundTiestToEven is the default, that is. Also, the patch contains a bunch of commented out printf's for debugging. I will obviously remove those before committing, so please disregard those when reviewing. Thanks! -- Janne Blomqvist