NICTA / stateline

Distributed Markov Chain Monte Carlo
Other
28 stars 11 forks source link

Nicer printing of large numbers #95

Open dfalster opened 8 years ago

dfalster commented 8 years ago

This is solely a cosmetic issue:

In the console output for stateline server, it would be great to find a better way to display large energies. This is what happens at present (see last row):

  ID    Length    MinEngy   CurrEngy      Sigma     AcptRt  GlbAcptRt       Beta     SwapRt  GlbSwapRt
------------------------------------------------------------------------------------------------------
   0         1        inf    0.00000    1.00000    0.00000    1.00000    1.00000    0.00000    0.00000 
   1         1        inf    0.00000    1.00000    0.00000    1.00000    0.87547    0.00000    0.00000 
   2         1        inf    0.00000    1.00000    0.00000    1.00000    0.76644    0.00000    0.00000 
   3         1        inf    0.00000    1.00000    0.00000    1.00000    0.67099    0.00000    0.00000 

   4         1        inf    0.00000    1.00000    0.00000    1.00000    1.00000    0.00000    0.00000 
   5         1        inf    0.00000    1.00000    0.00000    1.00000    0.87547    0.00000    0.00000 
   6         1        inf    0.00000    1.00000    0.00000    1.00000    0.76644    0.00000    0.00000 
   7         1        inf    0.00000    1.00000    0.00000    1.00000    0.67099    0.00000    0.00000 

   8         1        inf    0.00000    1.00000    0.00000    1.00000    1.00000    0.00000    0.00000 
   9         1        inf    0.00000    1.00000    0.00000    1.00000    0.87547    0.00000    0.00000 
  10         1        inf    0.00000    1.00000    0.00000    1.00000    0.76644    0.00000    0.00000 
  11         2 100000000000000001097906362944045541740492309677311846336810682903157585404911491537163328978494688899061249669721172515611590283743140088328307009198146046031271664502933027185697489699588559043338384466165001178426897626212945177628091195786707458122783970171784415105291802893207873272974885715430223118336.00000 100000000000000001097906362944045541740492309677311846336810682903157585404911491537163328978494688899061249669721172515611590283743140088328307009198146046031271664502933027185697489699588559043338384466165001178426897626212945177628091195786707458122783970171784415105291802893207873272974885715430223118336.00000   54.59815    1.00000    1.00000    0.67099    0.00000    0.00000 
darrnshn commented 8 years ago

Wow, that's a pretty big energy.