X-Git-Url: http://gitweb.michael.orlitzky.com/?p=dunshire.git;a=blobdiff_plain;f=dunshire%2Foptions.py;h=719d7f2228a19e72aa52569fec4f88a9117668a7;hp=976fe082421539ef118d73f9ee7ac8f077efa971;hb=7080424243887787b6ff925d611a837e8229ec6e;hpb=2b44481f8a79cbab75ddc0f73eea813b66e17d62 diff --git a/dunshire/options.py b/dunshire/options.py index 976fe08..719d7f2 100644 --- a/dunshire/options.py +++ b/dunshire/options.py @@ -15,6 +15,14 @@ improves the solubility of real problems is a question for the philosophers. """ +DEBUG_FLOAT_FORMAT = '%.20f' +""" +The float output format to use when something goes wrong. If we need to +produce a random test case, for example, then we need all of the digits +of the things involved. If we try to recreate the problem using only, +say, the first seven digits of each number, then the resulting game +might not reproduce the failure. +""" FLOAT_FORMAT = '%.7f' """