• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1-- Selected test cases to reduce both the archive size and runtime.  For the
2-- large test suite, download the separate mpdecimal-testdata distribution and
3-- replace the testdata_dist directory.
4
5rounding: half_even
6minExponent: -999999999
7maxExponent: 999999999
8
9precision: 4
10divmod0  divmod  +.19e-911565689  3  ->  0  1.9E-911565690
11precision: 134
12divmod1  divmod  -7511169757701755204403067994764250868266023726415875410280423917144182133410083809891399408586918959074  4246476766758966627011583811854662354887063790038443  ->  -1768800389183453909698778567576755142065118498146502  -2797376381641405358930320502134014338018800092982688
13precision: 262
14divmod2  divmod  -Inf  +7.905442548849169790507598032704018880614786823147752534821712985326338770302489617E486798639  ->  -Infinity  NaN  Invalid_operation
15precision: 216
16divmod3  divmod  -757719995173294752327540483701116946913961037738625667311193429926112129713646725612959034118065582310312494071362898125823373077706316701639971503.7061421  62623122235568293491576846461787522859478144460815517209962234575328066320595  ->  -12099684080314501435119346718279324158329411218353503927245988982340212  -27825671910110331254919071614638382146665442212850800774501568154918287705363.7061421
17precision: 264
18divmod60  divmod  .29710504707442803271433301062233400148972305067963266041512977334667175052716876430358025717559782571789385135307807427e+408570266  316018911136590957402752480309236024133069474131769799.16590  ->  NaN  NaN  Invalid_operation
19
20