format.test
---- format-1.1 start
++++ format-1.1 PASSED
---- format-1.2 start
++++ format-1.2 PASSED
---- format-1.3 start
++++ format-1.3 PASSED
++++ format-1.3.1 SKIPPED: longIs64bit
---- format-1.4 start
++++ format-1.4 PASSED
---- format-1.5 start
++++ format-1.5 PASSED
---- format-1.6 start
++++ format-1.6 PASSED
---- format-1.7 start
++++ format-1.7 PASSED
++++ format-1.7.1 SKIPPED: longIs64bit
---- format-1.8 start
++++ format-1.8 PASSED
++++ format-1.8.1 SKIPPED: longIs64bit
---- format-1.9 start
++++ format-1.9 PASSED
++++ format-1.9.1 SKIPPED: longIs64bit
---- format-1.10 start
++++ format-1.10 PASSED
++++ format-1.10.1 SKIPPED: longIs64bit
---- format-1.11 start
++++ format-1.11 PASSED
++++ format-1.11.1 SKIPPED: longIs64bit
---- format-1.12 start
++++ format-1.12 PASSED
---- format-1.13 start
++++ format-1.13 PASSED
++++ format-1.13.1 SKIPPED: longIs64bit
---- format-1.14 start
++++ format-1.14 PASSED
++++ format-1.14.1 SKIPPED: longIs64bit
---- format-1.15 start
++++ format-1.15 PASSED
++++ format-1.15.1 SKIPPED: longIs64bit
---- format-2.1 start
++++ format-2.1 PASSED
---- format-2.2 start
++++ format-2.2 PASSED
---- format-2.3 start
++++ format-2.3 PASSED
---- format-2.4 start
++++ format-2.4 PASSED
---- format-2.5 start
++++ format-2.5 PASSED
---- format-2.6 start
++++ format-2.6 PASSED
---- format-2.7 start
++++ format-2.7 PASSED
---- format-2.8 start
++++ format-2.8 PASSED
---- format-2.9 start
++++ format-2.9 PASSED
---- format-2.10 start
++++ format-2.10 PASSED
---- format-2.11 start
++++ format-2.11 PASSED
---- format-2.12 start
++++ format-2.12 PASSED
---- format-2.13 start
++++ format-2.13 PASSED
---- format-2.14 start
++++ format-2.14 PASSED
---- format-2.15 start
++++ format-2.15 PASSED
---- format-2.16 start
++++ format-2.16 PASSED
---- format-2.17 start
++++ format-2.17 PASSED
---- format-3.1 start
++++ format-3.1 PASSED
---- format-3.2 start
++++ format-3.2 PASSED
---- format-4.1 start
++++ format-4.1 PASSED
---- format-4.2 start
++++ format-4.2 PASSED
---- format-4.3 start
++++ format-4.3 PASSED
---- format-4.4 start
++++ format-4.4 PASSED
---- format-4.5 start
++++ format-4.5 PASSED
---- format-4.6 start
++++ format-4.6 PASSED
---- format-4.7 start
++++ format-4.7 PASSED
---- format-4.8 start
++++ format-4.8 PASSED
---- format-4.9 start
++++ format-4.9 PASSED
---- format-4.10 start
++++ format-4.10 PASSED
---- format-4.11 start
++++ format-4.11 PASSED
---- format-4.12 start
++++ format-4.12 PASSED
---- format-4.13 start
++++ format-4.13 PASSED
---- format-4.14 start
++++ format-4.14 PASSED
---- format-4.15 start
++++ format-4.15 PASSED
---- format-4.16 start


==== format-4.16 e and f formats FAILED
==== Contents of test case:

    format "%3.1f %3.1f %3.1f %3.1f" 0.0 0.1 0.01 0.001

---- Result was:
0.0 0.2 0.0 0.0
---- Result should have been (exact matching):
0.0 0.1 0.0 0.0
==== format-4.16 FAILED

---- format-5.1 start


==== format-5.1 g-format FAILED
==== Contents of test case:

    format "%.3g" 12341.0

---- Result was:
1.24e+04
---- Result should have been (exact matching):
1.23e+04
==== format-5.1 FAILED

---- format-5.2 start


==== format-5.2 g-format FAILED
==== Contents of test case:

    format "%.3G" 1234.12345

---- Result was:
1.24E+03
---- Result should have been (exact matching):
1.23E+03
==== format-5.2 FAILED

---- format-5.3 start


==== format-5.3 g-format FAILED
==== Contents of test case:

    format "%.3g" 123.412345

---- Result was:
124
---- Result should have been (exact matching):
123
==== format-5.3 FAILED

---- format-5.4 start


==== format-5.4 g-format FAILED
==== Contents of test case:

    format "%.3g" 12.3412345

---- Result was:
12.4
---- Result should have been (exact matching):
12.3
==== format-5.4 FAILED

---- format-5.5 start


==== format-5.5 g-format FAILED
==== Contents of test case:

    format "%.3g" 1.23412345

---- Result was:
1.24
---- Result should have been (exact matching):
1.23
==== format-5.5 FAILED

---- format-5.6 start


==== format-5.6 g-format FAILED
==== Contents of test case:

    format "%.3g" 1.23412345

---- Result was:
1.24
---- Result should have been (exact matching):
1.23
==== format-5.6 FAILED

---- format-5.7 start


==== format-5.7 g-format FAILED
==== Contents of test case:

    format "%.3g" .123412345

---- Result was:
0.124
---- Result should have been (exact matching):
0.123
==== format-5.7 FAILED

---- format-5.8 start


==== format-5.8 g-format FAILED
==== Contents of test case:

    format "%.3g" .012341

---- Result was:
0.0124
---- Result should have been (exact matching):
0.0123
==== format-5.8 FAILED

---- format-5.9 start


==== format-5.9 g-format FAILED
==== Contents of test case:

    format "%.3g" .0012341

---- Result was:
0.00124
---- Result should have been (exact matching):
0.00123
==== format-5.9 FAILED

---- format-5.10 start


==== format-5.10 g-format FAILED
==== Contents of test case:

    format "%.3g" .00012341

---- Result was:
0.000124
---- Result should have been (exact matching):
0.000123
==== format-5.10 FAILED

---- format-5.11 start


==== format-5.11 g-format FAILED
==== Contents of test case:

    format "%.3g" .00001234

---- Result was:
1.24e-05
---- Result should have been (exact matching):
1.23e-05
==== format-5.11 FAILED

---- format-5.12 start
++++ format-5.12 PASSED
---- format-5.13 start
++++ format-5.13 PASSED
---- format-5.14 start
++++ format-5.14 PASSED
---- format-5.15 start
++++ format-5.15 PASSED
---- format-5.16 start
++++ format-5.16 PASSED
---- format-5.17 start
++++ format-5.17 PASSED
---- format-5.18 start
++++ format-5.18 PASSED
---- format-5.19 start


==== format-5.19 g-format FAILED
==== Contents of test case:

    format "%#.3g" 1234.0

---- Result was:
1.24e+03
---- Result should have been (exact matching):
1.23e+03
==== format-5.19 FAILED

---- format-5.20 start
++++ format-5.20 PASSED
---- format-6.1 start
++++ format-6.1 PASSED
---- format-6.2 start
++++ format-6.2 PASSED
---- format-6.3 start
++++ format-6.3 PASSED
---- format-6.4 start
++++ format-6.4 PASSED
---- format-6.5 start
++++ format-6.5 PASSED
---- format-6.6 start
++++ format-6.6 PASSED
---- format-6.7 start


==== format-6.7 floating-point zeroes FAILED
==== Contents of test case:

    format "%3.0f %3.0f %3.0f %3.0f" 1.0 1.1 1.01 1.001

---- Result was:
  1   2   2   2
---- Result should have been (exact matching):
  1   1   1   1
==== format-6.7 FAILED

---- format-6.8 start


==== format-6.8 floating-point zeroes FAILED
==== Contents of test case:

    format "%3.1f %3.1f %3.1f %3.1f" 0.0 0.1 0.01 0.001

---- Result was:
0.0 0.2 0.0 0.0
---- Result should have been (exact matching):
0.0 0.1 0.0 0.0
==== format-6.8 FAILED

---- format-7.1 start
++++ format-7.1 PASSED
---- format-7.2 start
++++ format-7.2 PASSED
---- format-7.3 start
++++ format-7.3 PASSED
---- format-8.1 start
++++ format-8.1 PASSED
---- format-8.2 start
++++ format-8.2 PASSED
---- format-8.3 start
++++ format-8.3 PASSED
---- format-8.4 start
++++ format-8.4 PASSED
---- format-8.5 start
++++ format-8.5 PASSED
---- format-8.6 start
++++ format-8.6 PASSED
---- format-8.7 start
++++ format-8.7 PASSED
---- format-8.8 start
++++ format-8.8 PASSED
---- format-8.9 start
++++ format-8.9 PASSED
---- format-8.10 start
++++ format-8.10 PASSED
---- format-8.11 start
++++ format-8.11 PASSED
---- format-8.12 start
++++ format-8.12 PASSED
---- format-8.13 start
++++ format-8.13 PASSED
---- format-8.14 start
++++ format-8.14 PASSED
---- format-8.15 start
++++ format-8.15 PASSED
---- format-8.16 start
++++ format-8.16 PASSED
---- format-8.17 start
++++ format-8.17 PASSED
---- format-8.18 start
++++ format-8.18 PASSED
---- format-8.19 start
++++ format-8.19 PASSED
---- format-8.20 start
++++ format-8.20 PASSED
---- format-8.21 start
++++ format-8.21 PASSED
---- format-8.22 start
++++ format-8.22 PASSED
---- format-8.23 start
++++ format-8.23 PASSED
---- format-9.1 start
++++ format-9.1 PASSED
---- format-10.1 start
++++ format-10.1 PASSED
---- format-10.2 start
++++ format-10.2 PASSED
---- format-10.3 start
++++ format-10.3 PASSED
---- format-10.4 start
++++ format-10.4 PASSED
---- format-10.5 start
++++ format-10.5 PASSED
---- format-11.1 start
++++ format-11.1 PASSED
---- format-11.2 start
++++ format-11.2 PASSED
---- format-11.3 start
++++ format-11.3 PASSED
---- format-11.4 start
++++ format-11.4 PASSED
---- format-11.5 start
++++ format-11.5 PASSED
---- format-11.6 start
++++ format-11.6 PASSED
---- format-11.7 start
++++ format-11.7 PASSED
---- format-11.8 start
++++ format-11.8 PASSED
---- format-11.9 start
++++ format-11.9 PASSED
---- format-11.10 start
++++ format-11.10 PASSED
---- format-11.11 start
++++ format-11.11 PASSED
---- format-11.12 start
++++ format-11.12 PASSED
---- format-12.1 start
++++ format-12.1 PASSED
---- format-13.1 start


==== format-13.1 tcl_precision fuzzy comparison FAILED
==== Contents of test case:

    catch {unset a}
    catch {unset b}
    catch {unset c}
    catch {unset d}
    set a 0.0000000000001
    set b 0.00000000000001
    set c 0.00000000000000001
    set d [expr {$a + $b + $c}]
    format {%0.10f %0.12f %0.15f %0.17f} $d $d $d $d

---- Result was:
0.0000000000 0.000000000000 0.000000000000110 0.00000000000011002
---- Result should have been (exact matching):
0.0000000000 0.000000000000 0.000000000000110 0.00000000000011001
==== format-13.1 FAILED

---- format-13.2 start


==== format-13.2 tcl_precision fuzzy comparison FAILED
==== Contents of test case:

    catch {unset a}
    catch {unset b}
    catch {unset c}
    catch {unset d}
    set a 0.000000000001
    set b 0.000000000000005
    set c 0.0000000000000008
    set d [expr {$a + $b + $c}]
    format {%0.10f %0.12f %0.15f %0.17f} $d $d $d $d

---- Result was:
0.0000000000 0.000000000002 0.000000000001006 0.00000000000100580
---- Result should have been (exact matching):
0.0000000000 0.000000000001 0.000000000001006 0.00000000000100580
==== format-13.2 FAILED

---- format-13.3 start


==== format-13.3 tcl_precision fuzzy comparison FAILED
==== Contents of test case:

    catch {unset a}
    catch {unset b}
    catch {unset c}
    set a 0.00000000000099
    set b 0.000000000000011
    set c [expr {$a + $b}]
    format {%0.10f %0.12f %0.15f %0.17f} $c $c $c $c

---- Result was:
0.0000000000 0.000000000002 0.000000000001002 0.00000000000100100
---- Result should have been (exact matching):
0.0000000000 0.000000000001 0.000000000001001 0.00000000000100100
==== format-13.3 FAILED

---- format-13.4 start


==== format-13.4 tcl_precision fuzzy comparison FAILED
==== Contents of test case:

    catch {unset a}
    catch {unset b}
    catch {unset c}
    set a 0.444444444444
    set b 0.33333333333333
    set c [expr {$a + $b}]
    format {%0.10f %0.12f %0.15f %0.16f} $c $c $c $c

---- Result was:
0.7777777778 0.777777777778 0.777777777777330 0.7777777777773300
---- Result should have been (exact matching):
0.7777777778 0.777777777777 0.777777777777330 0.7777777777773300
==== format-13.4 FAILED

---- format-13.5 start
++++ format-13.5 PASSED
---- format-14.1 start
++++ format-14.1 PASSED
---- format-14.2 start
++++ format-14.2 PASSED
---- format-15.1 start
++++ format-15.1 PASSED
---- format-15.2 start
++++ format-15.2 PASSED
---- format-15.3 start
++++ format-15.3 PASSED
---- format-15.4 start
++++ format-15.4 PASSED
---- format-15.5 start
++++ format-15.5 PASSED
---- format-15.6 start
++++ format-15.6 PASSED
---- format-16.1 start
++++ format-16.1 PASSED
---- format-16.2 start
++++ format-16.2 PASSED
---- format-16.3 start
++++ format-16.3 PASSED
---- format-16.4 start
++++ format-16.4 PASSED
---- format-16.5 start
++++ format-16.5 PASSED
---- format-16.6 start
++++ format-16.6 PASSED
---- format-16.7 start
++++ format-16.7 PASSED
---- format-16.8 start
++++ format-16.8 PASSED
---- format-16.9 start
++++ format-16.9 PASSED
---- format-16.10 start
++++ format-16.10 PASSED
---- format-16.11 start
++++ format-16.11 PASSED
---- format-16.12 start
++++ format-16.12 PASSED
---- format-16.13 start
++++ format-16.13 PASSED
---- format-16.14 start
++++ format-16.14 PASSED
---- format-16.15 start
++++ format-16.15 PASSED
---- format-16.16 start
++++ format-16.16 PASSED
---- format-16.17 start
++++ format-16.17 PASSED
---- format-16.18 start
++++ format-16.18 PASSED
---- format-16.19 start
++++ format-16.19 PASSED
---- format-16.20 start
++++ format-16.20 PASSED
---- format-16.21 start
++++ format-16.21 PASSED
---- format-16.22 start
++++ format-16.22 PASSED
---- format-16.23 start
++++ format-16.23 PASSED
---- format-16.24 start
++++ format-16.24 PASSED
---- format-16.25 start
++++ format-16.25 PASSED
---- format-16.26 start
++++ format-16.26 PASSED
---- format-16.27 start
++++ format-16.27 PASSED
---- format-16.28 start
++++ format-16.28 PASSED
---- format-16.29 start
++++ format-16.29 PASSED
---- format-16.30 start
++++ format-16.30 PASSED
---- format-16.31 start
++++ format-16.31 PASSED
---- format-16.32 start
++++ format-16.32 PASSED
---- format-16.33 start
++++ format-16.33 PASSED
---- format-16.34 start
++++ format-16.34 PASSED
---- format-16.35 start
++++ format-16.35 PASSED
---- format-16.36 start
++++ format-16.36 PASSED
---- format-16.37 start
++++ format-16.37 PASSED
---- format-16.38 start
++++ format-16.38 PASSED
---- format-16.39 start
++++ format-16.39 PASSED
---- format-16.40 start
++++ format-16.40 PASSED
---- format-16.41 start
++++ format-16.41 PASSED
---- format-16.42 start
++++ format-16.42 PASSED
---- format-16.43 start
++++ format-16.43 PASSED
---- format-16.44 start
++++ format-16.44 PASSED
---- format-16.45 start
++++ format-16.45 PASSED
---- format-16.46 start
++++ format-16.46 PASSED
---- format-16.47 start
++++ format-16.47 PASSED
---- format-16.48 start
++++ format-16.48 PASSED
---- format-16.49 start
++++ format-16.49 PASSED
---- format-16.50 start
++++ format-16.50 PASSED
---- format-16.51 start
++++ format-16.51 PASSED
---- format-16.52 start
++++ format-16.52 PASSED
---- format-16.53 start
++++ format-16.53 PASSED
---- format-16.54 start
++++ format-16.54 PASSED
---- format-16.55 start
++++ format-16.55 PASSED
---- format-16.56 start
++++ format-16.56 PASSED
---- format-16.57 start
++++ format-16.57 PASSED
---- format-16.58 start
++++ format-16.58 PASSED
---- format-16.59 start
++++ format-16.59 PASSED
---- format-16.60 start
++++ format-16.60 PASSED
---- format-16.61 start
++++ format-16.61 PASSED
---- format-16.62 start
++++ format-16.62 PASSED
---- format-16.63 start
++++ format-16.63 PASSED
---- format-16.64 start
++++ format-16.64 PASSED
---- format-16.65 start
++++ format-16.65 PASSED
---- format-16.66 start
++++ format-16.66 PASSED
---- format-16.67 start
++++ format-16.67 PASSED
---- format-16.68 start
++++ format-16.68 PASSED
---- format-16.69 start
++++ format-16.69 PASSED
---- format-16.70 start
++++ format-16.70 PASSED
---- format-16.71 start
++++ format-16.71 PASSED
---- format-16.72 start
++++ format-16.72 PASSED
---- format-16.73 start
++++ format-16.73 PASSED
---- format-16.74 start
++++ format-16.74 PASSED
---- format-16.75 start
++++ format-16.75 PASSED
---- format-16.76 start
++++ format-16.76 PASSED
---- format-16.77 start
++++ format-16.77 PASSED
---- format-16.78 start
++++ format-16.78 PASSED
---- format-16.79 start
++++ format-16.79 PASSED
---- format-16.80 start
++++ format-16.80 PASSED
---- format-16.81 start
++++ format-16.81 PASSED
---- format-16.82 start
++++ format-16.82 PASSED
---- format-16.83 start
++++ format-16.83 PASSED
---- format-16.84 start
++++ format-16.84 PASSED
---- format-16.85 start
++++ format-16.85 PASSED
---- format-16.86 start
++++ format-16.86 PASSED
---- format-16.87 start
++++ format-16.87 PASSED
---- format-16.88 start
++++ format-16.88 PASSED
---- format-16.89 start
++++ format-16.89 PASSED
---- format-16.90 start
++++ format-16.90 PASSED
---- format-16.91 start
++++ format-16.91 PASSED
---- format-16.92 start
++++ format-16.92 PASSED
---- format-16.93 start
++++ format-16.93 PASSED
---- format-16.94 start
++++ format-16.94 PASSED
---- format-16.95 start
++++ format-16.95 PASSED
---- format-16.96 start
++++ format-16.96 PASSED
---- format-16.97 start
++++ format-16.97 PASSED
---- format-16.98 start
++++ format-16.98 PASSED
---- format-16.99 start
++++ format-16.99 PASSED
---- format-16.100 start
++++ format-16.100 PASSED
---- format-16.101 start
++++ format-16.101 PASSED
---- format-16.102 start
++++ format-16.102 PASSED
---- format-16.103 start
++++ format-16.103 PASSED
---- format-16.104 start
++++ format-16.104 PASSED
---- format-16.105 start
++++ format-16.105 PASSED
---- format-16.106 start
++++ format-16.106 PASSED
---- format-16.107 start
++++ format-16.107 PASSED
---- format-16.108 start
++++ format-16.108 PASSED
---- format-16.109 start
++++ format-16.109 PASSED
---- format-16.110 start
++++ format-16.110 PASSED
---- format-17.1 start
++++ format-17.1 PASSED
---- format-17.2 start
++++ format-17.2 PASSED
---- format-17.3 start
++++ format-17.3 PASSED
---- format-17.4 start
++++ format-17.4 PASSED
---- format-17.5 start
++++ format-17.5 PASSED
---- format-17.6 start
++++ format-17.6 PASSED
---- format-18.1 start
++++ format-18.1 PASSED
---- format-18.2 start
++++ format-18.2 PASSED
---- format-19.1 start
++++ format-19.1 PASSED
---- format-19.2 start
++++ format-19.2 PASSED
---- format-19.3 start
++++ format-19.3 PASSED
---- format-19.4.1 start
++++ format-19.4.1 PASSED
---- format-19.4.2 start
++++ format-19.4.2 PASSED
---- format-20.1 start
++++ format-20.1 PASSED
