JuliaLang/julia — pull request #1185 by swadey (2012-08-19 02:50:44+00:00)
Title: small fix for printf formatting of fixed precision reals (was broken for numbers less than 1.0)

* example code
```julia
@printf("[%3d, freq: %7.2f] %20.10f %20.10f %20.10f %20.10f\n", ...)
```

* original output

[ 0, freq: 0.00] 0.0000000000 0.0000000000 0.2267079565 0.2259631493
[ 1, freq: 0.50] 0.2326789510 0.2233023158 0.0000005542 0.0000248324
[ 2, freq: 1.00] -0.3726641464 -0.3280467195 0.1073405732 0.1057050951
[ 3, freq: 1.50] -0.7122304568 -0.2090250640 0.0000051333 0.0000044973

* new output

[ 0, freq: 0.00] 0.0000000000 0.0000000000 0.2267079565 0.2259631493
[ 1, freq: 0.50] 0.2326789510 0.2233023158 0.0000005542 0.0000248324
[ 2, freq: 1.00] -0.3726641464 -0.3280467195 0.1073405732 0.1057050951
[ 3, freq: 1.50] -0.7122304568 -0.2090250640 0.0000051333 0.0000044973