{"id":26667103,"url":"https://github.com/joeycumines/floater","last_synced_at":"2025-10-16T13:32:13.228Z","repository":{"id":253595139,"uuid":"843968168","full_name":"joeycumines/floater","owner":"joeycumines","description":"Package floater is not the shit in the toilet. Utils for math/big.","archived":false,"fork":false,"pushed_at":"2025-01-11T02:01:41.000Z","size":139,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-11T03:18:29.962Z","etag":null,"topics":["arbitrary-precision","bigint","bignum","decimal","developer-tools","financial","fixed-point","floating-point","floating-point-precision","go","go-package","golang","golang-library","ieee754","json-marshalling","math","money","number-formatting","numerical-precision","precision-math"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/joeycumines.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-18T01:06:46.000Z","updated_at":"2025-01-11T02:01:44.000Z","dependencies_parsed_at":"2024-08-18T02:27:30.362Z","dependency_job_id":"2f5d4f1d-f58a-4e08-b3e1-198af007f530","html_url":"https://github.com/joeycumines/floater","commit_stats":null,"previous_names":["joeycumines/floater"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joeycumines%2Ffloater","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joeycumines%2Ffloater/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joeycumines%2Ffloater/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joeycumines%2Ffloater/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joeycumines","download_url":"https://codeload.github.com/joeycumines/floater/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245532624,"owners_count":20630959,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arbitrary-precision","bigint","bignum","decimal","developer-tools","financial","fixed-point","floating-point","floating-point-precision","go","go-package","golang","golang-library","ieee754","json-marshalling","math","money","number-formatting","numerical-precision","precision-math"],"created_at":"2025-03-25T19:36:15.792Z","updated_at":"2025-10-16T13:32:13.132Z","avatar_url":"https://github.com/joeycumines.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# floater\n\nPackage floater is not the shit in the toilet. Utils for math/big.\n\n## Documentation\n\nAvailable [here](https://pkg.go.dev/github.com/joeycumines/floater).\n\n## Examples\n\n### FormatDecimalRat\n\n#### Accurate formatting to float\n\nIf you want to format a `math/big.Rat` to a decimal string, your stdlib choices\nare:\n\n1. `math/big.Rat.FloatString`\n2. `math/big.Float.SetRat` -\u003e `math/big.Float.Text`\n3. `math/big.Rat.Float64` -\u003e `strconv.FormatFloat`\n\nAll three have deficiencies, particularly if you wish for automatic\nreasonably-accurate conversion, and especially if your `math/big.Rat` was a\nvalue calculated from floating-point inputs. The `floater.FormatDecimalRat`\nimplementation supports `strconv.FloatFloat('f', ...)` semantics, including\nautomatically determining an (approximation of) the number of decimals\nnecessary. The `floater.FormatDecimalRat` implementation also supports\nautomatic determination of an appropriate float precision, using the same logic\nas `math/big.Float.SetRat`.\n\nSee also the\n[full example](https://pkg.go.dev/github.com/joeycumines/floater#example-FormatDecimalRat-RoundUpEdgeCase1).\n\n```\nprec=-1\nours:  0.049504950495049505\nfloat: 0.04950495049504951\n---\nprec=16\nours:  0.0495049504950495\nfloat: 0.0495049504950495\nrat:   0.0495049504950495\n---\nprec=17\nours:  0.04950495049504950\nfloat: 0.04950495049504951\nrat:   0.04950495049504950\n---\nprec=18\nours:  0.049504950495049505\nfloat: 0.049504950495049507\nrat:   0.049504950495049505\n```\n\n## Benchmark results\n\n### FormatDecimalRat\n\n```\ngoos: darwin\ngoarch: arm64\npkg: github.com/joeycumines/floater\ncpu: Apple M2 Pro\nBenchmarkFormatDecimalRat\nBenchmarkFormatDecimalRat/DecimalRat_1\nBenchmarkFormatDecimalRat/DecimalRat_1/FormatDecimalRat\nBenchmarkFormatDecimalRat/DecimalRat_1/FormatDecimalRat-10         \t 2168971\t       507.6 ns/op\t     440 B/op\t      20 allocs/op\nBenchmarkFormatDecimalRat/DecimalRat_1/big.Rat.FloatString\nBenchmarkFormatDecimalRat/DecimalRat_1/big.Rat.FloatString-10      \t 3409490\t       352.5 ns/op\t     320 B/op\t      14 allocs/op\nBenchmarkFormatDecimalRat/DecimalRat_1/big.Float.Text_specific_prec\nBenchmarkFormatDecimalRat/DecimalRat_1/big.Float.Text_specific_prec-10         \t 5270211\t       217.6 ns/op\t     176 B/op\t       7 allocs/op\nBenchmarkFormatDecimalRat/DecimalRat_1/big.Float.Text_auto_prec\nBenchmarkFormatDecimalRat/DecimalRat_1/big.Float.Text_auto_prec-10             \t 1575210\t       739.9 ns/op\t     712 B/op\t      20 allocs/op\nBenchmarkFormatDecimalRat/DecimalRat_1/strconv.FormatFloat_specific_prec\nBenchmarkFormatDecimalRat/DecimalRat_1/strconv.FormatFloat_specific_prec-10    \t13318806\t        89.65 ns/op\t      48 B/op\t       2 allocs/op\nBenchmarkFormatDecimalRat/DecimalRat_1/strconv.FormatFloat_auto_prec\nBenchmarkFormatDecimalRat/DecimalRat_1/strconv.FormatFloat_auto_prec-10        \t19293753\t        62.64 ns/op\t      48 B/op\t       2 allocs/op\nBenchmarkFormatDecimalRat/DecimalRat_2\nBenchmarkFormatDecimalRat/DecimalRat_2/FormatDecimalRat\nBenchmarkFormatDecimalRat/DecimalRat_2/FormatDecimalRat-10                     \t 3989487\t       304.5 ns/op\t     192 B/op\t      13 allocs/op\nBenchmarkFormatDecimalRat/DecimalRat_2/big.Rat.FloatString\nBenchmarkFormatDecimalRat/DecimalRat_2/big.Rat.FloatString-10                  \t 6993184\t       169.6 ns/op\t     144 B/op\t       9 allocs/op\nBenchmarkFormatDecimalRat/DecimalRat_2/big.Float.Text_specific_prec\nBenchmarkFormatDecimalRat/DecimalRat_2/big.Float.Text_specific_prec-10         \t10876087\t       110.4 ns/op\t      48 B/op\t       5 allocs/op\nBenchmarkFormatDecimalRat/DecimalRat_2/big.Float.Text_auto_prec\nBenchmarkFormatDecimalRat/DecimalRat_2/big.Float.Text_auto_prec-10             \t 1306072\t       939.8 ns/op\t     688 B/op\t      19 allocs/op\nBenchmarkFormatDecimalRat/DecimalRat_2/strconv.FormatFloat_specific_prec\nBenchmarkFormatDecimalRat/DecimalRat_2/strconv.FormatFloat_specific_prec-10    \t14043032\t        88.45 ns/op\t      28 B/op\t       2 allocs/op\nBenchmarkFormatDecimalRat/DecimalRat_2/strconv.FormatFloat_auto_prec\nBenchmarkFormatDecimalRat/DecimalRat_2/strconv.FormatFloat_auto_prec-10        \t17147664\t        62.05 ns/op\t      28 B/op\t       2 allocs/op\nBenchmarkFormatDecimalRat/DecimalRat_3\nBenchmarkFormatDecimalRat/DecimalRat_3/FormatDecimalRat\nBenchmarkFormatDecimalRat/DecimalRat_3/FormatDecimalRat-10                     \t 2473236\t       502.3 ns/op\t     408 B/op\t      18 allocs/op\nBenchmarkFormatDecimalRat/DecimalRat_3/big.Rat.FloatString\nBenchmarkFormatDecimalRat/DecimalRat_3/big.Rat.FloatString-10                  \t 3310762\t       354.2 ns/op\t     312 B/op\t      14 allocs/op\nBenchmarkFormatDecimalRat/DecimalRat_3/big.Float.Text_specific_prec\nBenchmarkFormatDecimalRat/DecimalRat_3/big.Float.Text_specific_prec-10         \t 5076002\t       240.5 ns/op\t     160 B/op\t       6 allocs/op\nBenchmarkFormatDecimalRat/DecimalRat_3/big.Float.Text_auto_prec\nBenchmarkFormatDecimalRat/DecimalRat_3/big.Float.Text_auto_prec-10             \t 1421373\t       843.6 ns/op\t     712 B/op\t      20 allocs/op\nBenchmarkFormatDecimalRat/DecimalRat_3/strconv.FormatFloat_specific_prec\nBenchmarkFormatDecimalRat/DecimalRat_3/strconv.FormatFloat_specific_prec-10    \t 8490703\t       142.3 ns/op\t      48 B/op\t       2 allocs/op\nBenchmarkFormatDecimalRat/DecimalRat_3/strconv.FormatFloat_auto_prec\nBenchmarkFormatDecimalRat/DecimalRat_3/strconv.FormatFloat_auto_prec-10        \t16048832\t        76.68 ns/op\t      48 B/op\t       2 allocs/op\nBenchmarkFormatDecimalRat/DecimalRat_4\nBenchmarkFormatDecimalRat/DecimalRat_4/FormatDecimalRat\nBenchmarkFormatDecimalRat/DecimalRat_4/FormatDecimalRat-10                     \t 2647880\t       450.8 ns/op\t     344 B/op\t      18 allocs/op\nBenchmarkFormatDecimalRat/DecimalRat_4/big.Rat.FloatString\nBenchmarkFormatDecimalRat/DecimalRat_4/big.Rat.FloatString-10                  \t 3931701\t       306.0 ns/op\t     288 B/op\t      14 allocs/op\nBenchmarkFormatDecimalRat/DecimalRat_4/big.Float.Text_specific_prec\nBenchmarkFormatDecimalRat/DecimalRat_4/big.Float.Text_specific_prec-10         \t 5390155\t       224.7 ns/op\t     136 B/op\t       6 allocs/op\nBenchmarkFormatDecimalRat/DecimalRat_4/big.Float.Text_auto_prec\nBenchmarkFormatDecimalRat/DecimalRat_4/big.Float.Text_auto_prec-10             \t 1412846\t       860.9 ns/op\t     712 B/op\t      20 allocs/op\nBenchmarkFormatDecimalRat/DecimalRat_4/strconv.FormatFloat_specific_prec\nBenchmarkFormatDecimalRat/DecimalRat_4/strconv.FormatFloat_specific_prec-10    \t 9188170\t       132.7 ns/op\t      40 B/op\t       2 allocs/op\nBenchmarkFormatDecimalRat/DecimalRat_4/strconv.FormatFloat_auto_prec\nBenchmarkFormatDecimalRat/DecimalRat_4/strconv.FormatFloat_auto_prec-10        \t15505837\t        76.23 ns/op\t      48 B/op\t       2 allocs/op\nBenchmarkFormatDecimalRat/DecimalRat_5\nBenchmarkFormatDecimalRat/DecimalRat_5/FormatDecimalRat\nBenchmarkFormatDecimalRat/DecimalRat_5/FormatDecimalRat-10                     \t 1692486\t       708.8 ns/op\t     800 B/op\t      19 allocs/op\nBenchmarkFormatDecimalRat/DecimalRat_5/big.Rat.FloatString\nBenchmarkFormatDecimalRat/DecimalRat_5/big.Rat.FloatString-10                  \t 2114258\t       568.0 ns/op\t     616 B/op\t      15 allocs/op\nBenchmarkFormatDecimalRat/DecimalRat_5/big.Float.Text_specific_prec\nBenchmarkFormatDecimalRat/DecimalRat_5/big.Float.Text_specific_prec-10         \t  681764\t      1766 ns/op\t     960 B/op\t       8 allocs/op\nBenchmarkFormatDecimalRat/DecimalRat_5/big.Float.Text_auto_prec\nBenchmarkFormatDecimalRat/DecimalRat_5/big.Float.Text_auto_prec-10             \t  218082\t      5400 ns/op\t    2856 B/op\t      26 allocs/op\nBenchmarkFormatDecimalRat/DecimalRat_5/strconv.FormatFloat_specific_prec\nBenchmarkFormatDecimalRat/DecimalRat_5/strconv.FormatFloat_specific_prec-10    \t 5463564\t       226.1 ns/op\t     336 B/op\t       3 allocs/op\nBenchmarkFormatDecimalRat/DecimalRat_5/strconv.FormatFloat_auto_prec\nBenchmarkFormatDecimalRat/DecimalRat_5/strconv.FormatFloat_auto_prec-10        \t15554005\t        76.97 ns/op\t      48 B/op\t       2 allocs/op\nBenchmarkFormatDecimalRat/DecimalRat_6\nBenchmarkFormatDecimalRat/DecimalRat_6/FormatDecimalRat\nBenchmarkFormatDecimalRat/DecimalRat_6/FormatDecimalRat-10                     \t 3146209\t       382.4 ns/op\t     264 B/op\t      15 allocs/op\nBenchmarkFormatDecimalRat/DecimalRat_6/big.Rat.FloatString\nBenchmarkFormatDecimalRat/DecimalRat_6/big.Rat.FloatString-10                  \t 5740561\t       208.8 ns/op\t     200 B/op\t      10 allocs/op\nBenchmarkFormatDecimalRat/DecimalRat_6/big.Float.Text_specific_prec\nBenchmarkFormatDecimalRat/DecimalRat_6/big.Float.Text_specific_prec-10         \t 3170988\t       375.6 ns/op\t     224 B/op\t       7 allocs/op\nBenchmarkFormatDecimalRat/DecimalRat_6/big.Float.Text_auto_prec\nBenchmarkFormatDecimalRat/DecimalRat_6/big.Float.Text_auto_prec-10             \t  923235\t      1278 ns/op\t     960 B/op\t      22 allocs/op\nBenchmarkFormatDecimalRat/DecimalRat_6/strconv.FormatFloat_specific_prec\nBenchmarkFormatDecimalRat/DecimalRat_6/strconv.FormatFloat_specific_prec-10    \t 4564881\t       264.3 ns/op\t      32 B/op\t       2 allocs/op\nBenchmarkFormatDecimalRat/DecimalRat_6/strconv.FormatFloat_auto_prec\nBenchmarkFormatDecimalRat/DecimalRat_6/strconv.FormatFloat_auto_prec-10        \t18011402\t        66.66 ns/op\t      32 B/op\t       2 allocs/op\nBenchmarkFormatDecimalRat/DecimalRat_7\nBenchmarkFormatDecimalRat/DecimalRat_7/FormatDecimalRat\nBenchmarkFormatDecimalRat/DecimalRat_7/FormatDecimalRat-10                     \t 2824808\t       417.0 ns/op\t     272 B/op\t      16 allocs/op\nBenchmarkFormatDecimalRat/DecimalRat_7/big.Rat.FloatString\nBenchmarkFormatDecimalRat/DecimalRat_7/big.Rat.FloatString-10                  \t 4565226\t       263.6 ns/op\t     264 B/op\t      14 allocs/op\nBenchmarkFormatDecimalRat/DecimalRat_7/big.Float.Text_specific_prec\nBenchmarkFormatDecimalRat/DecimalRat_7/big.Float.Text_specific_prec-10         \t 3281704\t       360.9 ns/op\t     224 B/op\t       7 allocs/op\nBenchmarkFormatDecimalRat/DecimalRat_7/big.Float.Text_auto_prec\nBenchmarkFormatDecimalRat/DecimalRat_7/big.Float.Text_auto_prec-10             \t  955771\t      1247 ns/op\t     960 B/op\t      22 allocs/op\nBenchmarkFormatDecimalRat/DecimalRat_7/strconv.FormatFloat_specific_prec\nBenchmarkFormatDecimalRat/DecimalRat_7/strconv.FormatFloat_specific_prec-10    \t 8037579\t       149.8 ns/op\t      28 B/op\t       2 allocs/op\nBenchmarkFormatDecimalRat/DecimalRat_7/strconv.FormatFloat_auto_prec\nBenchmarkFormatDecimalRat/DecimalRat_7/strconv.FormatFloat_auto_prec-10        \t17551749\t        68.78 ns/op\t      32 B/op\t       2 allocs/op\nBenchmarkFormatDecimalRat/SmallInteger\nBenchmarkFormatDecimalRat/SmallInteger/FormatDecimalRat\nBenchmarkFormatDecimalRat/SmallInteger/FormatDecimalRat-10                     \t19018197\t        64.09 ns/op\t      16 B/op\t       2 allocs/op\nBenchmarkFormatDecimalRat/SmallInteger/big.Rat.FloatString\nBenchmarkFormatDecimalRat/SmallInteger/big.Rat.FloatString-10                  \t17237622\t        70.84 ns/op\t      16 B/op\t       3 allocs/op\nBenchmarkFormatDecimalRat/SmallInteger/big.Float.Text_specific_prec\nBenchmarkFormatDecimalRat/SmallInteger/big.Float.Text_specific_prec-10         \t11231652\t       105.7 ns/op\t      48 B/op\t       5 allocs/op\nBenchmarkFormatDecimalRat/SmallInteger/big.Float.Text_auto_prec\nBenchmarkFormatDecimalRat/SmallInteger/big.Float.Text_auto_prec-10             \t 1625382\t       736.7 ns/op\t     784 B/op\t      20 allocs/op\nBenchmarkFormatDecimalRat/SmallInteger/strconv.FormatFloat_specific_prec\nBenchmarkFormatDecimalRat/SmallInteger/strconv.FormatFloat_specific_prec-10    \t14435098\t        83.51 ns/op\t      26 B/op\t       2 allocs/op\nBenchmarkFormatDecimalRat/SmallInteger/strconv.FormatFloat_auto_prec\nBenchmarkFormatDecimalRat/SmallInteger/strconv.FormatFloat_auto_prec-10        \t21444238\t        55.81 ns/op\t      26 B/op\t       2 allocs/op\nBenchmarkFormatDecimalRat/LargeInteger\nBenchmarkFormatDecimalRat/LargeInteger/FormatDecimalRat\nBenchmarkFormatDecimalRat/LargeInteger/FormatDecimalRat-10                     \t 8930154\t       132.8 ns/op\t     112 B/op\t       3 allocs/op\nBenchmarkFormatDecimalRat/LargeInteger/big.Rat.FloatString\nBenchmarkFormatDecimalRat/LargeInteger/big.Rat.FloatString-10                  \t 8137422\t       148.1 ns/op\t     144 B/op\t       4 allocs/op\nBenchmarkFormatDecimalRat/LargeInteger/big.Float.Text_specific_prec\nBenchmarkFormatDecimalRat/LargeInteger/big.Float.Text_specific_prec-10         \t 5764550\t       208.4 ns/op\t     240 B/op\t       7 allocs/op\nBenchmarkFormatDecimalRat/LargeInteger/big.Float.Text_auto_prec\nBenchmarkFormatDecimalRat/LargeInteger/big.Float.Text_auto_prec-10             \t 1559626\t       775.9 ns/op\t     720 B/op\t      18 allocs/op\nBenchmarkFormatDecimalRat/LargeInteger/strconv.FormatFloat_specific_prec\nBenchmarkFormatDecimalRat/LargeInteger/strconv.FormatFloat_specific_prec-10    \t 9095272\t       131.3 ns/op\t     104 B/op\t       3 allocs/op\nBenchmarkFormatDecimalRat/LargeInteger/strconv.FormatFloat_auto_prec\nBenchmarkFormatDecimalRat/LargeInteger/strconv.FormatFloat_auto_prec-10        \t12377311\t        99.88 ns/op\t     104 B/op\t       3 allocs/op\nBenchmarkFormatDecimalRat/SmallRationalAutoPrec\nBenchmarkFormatDecimalRat/SmallRationalAutoPrec/FormatDecimalRat\nBenchmarkFormatDecimalRat/SmallRationalAutoPrec/FormatDecimalRat-10            \t 2534362\t       471.7 ns/op\t     464 B/op\t      18 allocs/op\nBenchmarkFormatDecimalRat/SmallRationalAutoPrec/big.Rat.FloatString\nBenchmarkFormatDecimalRat/SmallRationalAutoPrec/big.Rat.FloatString-10         \t 3269518\t       362.3 ns/op\t     376 B/op\t      14 allocs/op\nBenchmarkFormatDecimalRat/SmallRationalAutoPrec/big.Float.Text_specific_prec\nBenchmarkFormatDecimalRat/SmallRationalAutoPrec/big.Float.Text_specific_prec-10         \t 2912564\t       415.0 ns/op\t     256 B/op\t       7 allocs/op\nBenchmarkFormatDecimalRat/SmallRationalAutoPrec/big.Float.Text_auto_prec\nBenchmarkFormatDecimalRat/SmallRationalAutoPrec/big.Float.Text_auto_prec-10             \t  847768\t      1352 ns/op\t    1000 B/op\t      23 allocs/op\nBenchmarkFormatDecimalRat/SmallRationalAutoPrec/strconv.FormatFloat_specific_prec\nBenchmarkFormatDecimalRat/SmallRationalAutoPrec/strconv.FormatFloat_specific_prec-10    \t 6557478\t       179.8 ns/op\t      56 B/op\t       2 allocs/op\nBenchmarkFormatDecimalRat/SmallRationalAutoPrec/strconv.FormatFloat_auto_prec\nBenchmarkFormatDecimalRat/SmallRationalAutoPrec/strconv.FormatFloat_auto_prec-10        \t14990606\t        80.60 ns/op\t      48 B/op\t       2 allocs/op\nBenchmarkFormatDecimalRat/LargeRationalSpecificPrec\nBenchmarkFormatDecimalRat/LargeRationalSpecificPrec/FormatDecimalRat\nBenchmarkFormatDecimalRat/LargeRationalSpecificPrec/FormatDecimalRat-10                 \t14185249\t        84.87 ns/op\t      32 B/op\t       3 allocs/op\nBenchmarkFormatDecimalRat/LargeRationalSpecificPrec/big.Rat.FloatString\nBenchmarkFormatDecimalRat/LargeRationalSpecificPrec/big.Rat.FloatString-10              \t12275151\t        97.14 ns/op\t      48 B/op\t       4 allocs/op\nBenchmarkFormatDecimalRat/LargeRationalSpecificPrec/big.Float.Text_specific_prec\nBenchmarkFormatDecimalRat/LargeRationalSpecificPrec/big.Float.Text_specific_prec-10     \t 9717205\t       121.2 ns/op\t      64 B/op\t       5 allocs/op\nBenchmarkFormatDecimalRat/LargeRationalSpecificPrec/big.Float.Text_auto_prec\nBenchmarkFormatDecimalRat/LargeRationalSpecificPrec/big.Float.Text_auto_prec-10         \t  645265\t      1819 ns/op\t    1264 B/op\t      20 allocs/op\nBenchmarkFormatDecimalRat/LargeRationalSpecificPrec/strconv.FormatFloat_specific_prec\nBenchmarkFormatDecimalRat/LargeRationalSpecificPrec/strconv.FormatFloat_specific_prec-10         \t12384586\t        95.92 ns/op\t      40 B/op\t       2 allocs/op\nBenchmarkFormatDecimalRat/LargeRationalSpecificPrec/strconv.FormatFloat_auto_prec\nBenchmarkFormatDecimalRat/LargeRationalSpecificPrec/strconv.FormatFloat_auto_prec-10             \t20421230\t        57.75 ns/op\t      26 B/op\t       2 allocs/op\nBenchmarkFormatDecimalRat/HighPrecision\nBenchmarkFormatDecimalRat/HighPrecision/FormatDecimalRat\nBenchmarkFormatDecimalRat/HighPrecision/FormatDecimalRat-10                                      \t 1489424\t       802.9 ns/op\t     960 B/op\t      20 allocs/op\nBenchmarkFormatDecimalRat/HighPrecision/big.Rat.FloatString\nBenchmarkFormatDecimalRat/HighPrecision/big.Rat.FloatString-10                                   \t 1881495\t       642.6 ns/op\t     704 B/op\t      14 allocs/op\nBenchmarkFormatDecimalRat/HighPrecision/big.Float.Text_specific_prec\nBenchmarkFormatDecimalRat/HighPrecision/big.Float.Text_specific_prec-10                          \t 2457735\t       484.3 ns/op\t     424 B/op\t       7 allocs/op\nBenchmarkFormatDecimalRat/HighPrecision/big.Float.Text_auto_prec\nBenchmarkFormatDecimalRat/HighPrecision/big.Float.Text_auto_prec-10                              \t  881433\t      1370 ns/op\t    1000 B/op\t      23 allocs/op\nBenchmarkFormatDecimalRat/HighPrecision/strconv.FormatFloat_specific_prec\nBenchmarkFormatDecimalRat/HighPrecision/strconv.FormatFloat_specific_prec-10                     \t 4674649\t       261.4 ns/op\t     224 B/op\t       2 allocs/op\nBenchmarkFormatDecimalRat/HighPrecision/strconv.FormatFloat_auto_prec\nBenchmarkFormatDecimalRat/HighPrecision/strconv.FormatFloat_auto_prec-10                         \t14974130\t        80.28 ns/op\t      48 B/op\t       2 allocs/op\nBenchmarkFormatDecimalRat/EdgeZero\nBenchmarkFormatDecimalRat/EdgeZero/FormatDecimalRat\nBenchmarkFormatDecimalRat/EdgeZero/FormatDecimalRat-10                                           \t37886012\t        31.50 ns/op\t      16 B/op\t       2 allocs/op\nBenchmarkFormatDecimalRat/EdgeZero/big.Rat.FloatString\nBenchmarkFormatDecimalRat/EdgeZero/big.Rat.FloatString-10                                        \t28659710\t        41.57 ns/op\t      16 B/op\t       3 allocs/op\nBenchmarkFormatDecimalRat/EdgeZero/big.Float.Text_specific_prec\nBenchmarkFormatDecimalRat/EdgeZero/big.Float.Text_specific_prec-10                               \t35580681\t        33.39 ns/op\t      24 B/op\t       2 allocs/op\nBenchmarkFormatDecimalRat/EdgeZero/big.Float.Text_auto_prec\nBenchmarkFormatDecimalRat/EdgeZero/big.Float.Text_auto_prec-10                                   \t60768210\t        19.10 ns/op\t      16 B/op\t       1 allocs/op\nBenchmarkFormatDecimalRat/EdgeZero/strconv.FormatFloat_specific_prec\nBenchmarkFormatDecimalRat/EdgeZero/strconv.FormatFloat_specific_prec-10                          \t24601317\t        48.44 ns/op\t      32 B/op\t       2 allocs/op\nBenchmarkFormatDecimalRat/EdgeZero/strconv.FormatFloat_auto_prec\nBenchmarkFormatDecimalRat/EdgeZero/strconv.FormatFloat_auto_prec-10                              \t50813724\t        23.17 ns/op\t      24 B/op\t       1 allocs/op\nBenchmarkFormatDecimalRat/LargeFloatPrec\nBenchmarkFormatDecimalRat/LargeFloatPrec/FormatDecimalRat\nBenchmarkFormatDecimalRat/LargeFloatPrec/FormatDecimalRat-10                                     \t 1477929\t       788.7 ns/op\t     888 B/op\t      22 allocs/op\nBenchmarkFormatDecimalRat/LargeFloatPrec/big.Rat.FloatString\nBenchmarkFormatDecimalRat/LargeFloatPrec/big.Rat.FloatString-10                                  \t 1964488\t       604.7 ns/op\t     688 B/op\t      16 allocs/op\nBenchmarkFormatDecimalRat/LargeFloatPrec/big.Float.Text_specific_prec\nBenchmarkFormatDecimalRat/LargeFloatPrec/big.Float.Text_specific_prec-10                         \t  651255\t      1793 ns/op\t    1104 B/op\t       9 allocs/op\nBenchmarkFormatDecimalRat/LargeFloatPrec/big.Float.Text_auto_prec\nBenchmarkFormatDecimalRat/LargeFloatPrec/big.Float.Text_auto_prec-10                             \t  223387\t      5341 ns/op\t    2856 B/op\t      26 allocs/op\nBenchmarkFormatDecimalRat/LargeFloatPrec/strconv.FormatFloat_specific_prec\nBenchmarkFormatDecimalRat/LargeFloatPrec/strconv.FormatFloat_specific_prec-10                    \t 6757008\t       175.4 ns/op\t     336 B/op\t       3 allocs/op\nBenchmarkFormatDecimalRat/LargeFloatPrec/strconv.FormatFloat_auto_prec\nBenchmarkFormatDecimalRat/LargeFloatPrec/strconv.FormatFloat_auto_prec-10                        \t21907554\t        54.68 ns/op\t      40 B/op\t       2 allocs/op\nBenchmarkFormatDecimalRat/ExtremelyLargeInteger\nBenchmarkFormatDecimalRat/ExtremelyLargeInteger/FormatDecimalRat\nBenchmarkFormatDecimalRat/ExtremelyLargeInteger/FormatDecimalRat-10                              \t 3649136\t       330.1 ns/op\t     304 B/op\t       3 allocs/op\nBenchmarkFormatDecimalRat/ExtremelyLargeInteger/big.Rat.FloatString\nBenchmarkFormatDecimalRat/ExtremelyLargeInteger/big.Rat.FloatString-10                           \t 3390589\t       354.1 ns/op\t     416 B/op\t       4 allocs/op\nBenchmarkFormatDecimalRat/ExtremelyLargeInteger/big.Float.Text_specific_prec\nBenchmarkFormatDecimalRat/ExtremelyLargeInteger/big.Float.Text_specific_prec-10                  \t 2887112\t       415.9 ns/op\t     624 B/op\t       7 allocs/op\nBenchmarkFormatDecimalRat/ExtremelyLargeInteger/big.Float.Text_auto_prec\nBenchmarkFormatDecimalRat/ExtremelyLargeInteger/big.Float.Text_auto_prec-10                      \t  624890\t      1849 ns/op\t    1648 B/op\t      18 allocs/op\nBenchmarkFormatDecimalRat/ExtremelyLargeInteger/strconv.FormatFloat_specific_prec\nBenchmarkFormatDecimalRat/ExtremelyLargeInteger/strconv.FormatFloat_specific_prec-10             \t 1897298\t       628.3 ns/op\t     248 B/op\t       3 allocs/op\nBenchmarkFormatDecimalRat/ExtremelyLargeInteger/strconv.FormatFloat_auto_prec\nBenchmarkFormatDecimalRat/ExtremelyLargeInteger/strconv.FormatFloat_auto_prec-10                 \t 6313666\t       186.7 ns/op\t     472 B/op\t       5 allocs/op\nBenchmarkFormatDecimalRat/LargeRationalHighPrecision\nBenchmarkFormatDecimalRat/LargeRationalHighPrecision/FormatDecimalRat\nBenchmarkFormatDecimalRat/LargeRationalHighPrecision/FormatDecimalRat-10                         \t 1289052\t       924.5 ns/op\t    1056 B/op\t      21 allocs/op\nBenchmarkFormatDecimalRat/LargeRationalHighPrecision/big.Rat.FloatString\nBenchmarkFormatDecimalRat/LargeRationalHighPrecision/big.Rat.FloatString-10                      \t 1640667\t       722.9 ns/op\t     800 B/op\t      15 allocs/op\nBenchmarkFormatDecimalRat/LargeRationalHighPrecision/big.Float.Text_specific_prec\nBenchmarkFormatDecimalRat/LargeRationalHighPrecision/big.Float.Text_specific_prec-10             \t 3058802\t       389.0 ns/op\t     656 B/op\t       8 allocs/op\nBenchmarkFormatDecimalRat/LargeRationalHighPrecision/big.Float.Text_auto_prec\nBenchmarkFormatDecimalRat/LargeRationalHighPrecision/big.Float.Text_auto_prec-10                 \t 1363954\t       870.2 ns/op\t     800 B/op\t      21 allocs/op\nBenchmarkFormatDecimalRat/LargeRationalHighPrecision/strconv.FormatFloat_specific_prec\nBenchmarkFormatDecimalRat/LargeRationalHighPrecision/strconv.FormatFloat_specific_prec-10        \t 5568057\t       219.4 ns/op\t     448 B/op\t       3 allocs/op\nBenchmarkFormatDecimalRat/LargeRationalHighPrecision/strconv.FormatFloat_auto_prec\nBenchmarkFormatDecimalRat/LargeRationalHighPrecision/strconv.FormatFloat_auto_prec-10            \t16221906\t        74.54 ns/op\t      48 B/op\t       2 allocs/op\nBenchmarkFormatDecimalRat/SmallRationalExtremePrecision\nBenchmarkFormatDecimalRat/SmallRationalExtremePrecision/FormatDecimalRat\nBenchmarkFormatDecimalRat/SmallRationalExtremePrecision/FormatDecimalRat-10                      \t  165405\t      7163 ns/op\t    8349 B/op\t      29 allocs/op\nBenchmarkFormatDecimalRat/SmallRationalExtremePrecision/big.Rat.FloatString\nBenchmarkFormatDecimalRat/SmallRationalExtremePrecision/big.Rat.FloatString-10                   \t  182168\t      6575 ns/op\t    6372 B/op\t      23 allocs/op\nBenchmarkFormatDecimalRat/SmallRationalExtremePrecision/big.Float.Text_specific_prec\nBenchmarkFormatDecimalRat/SmallRationalExtremePrecision/big.Float.Text_specific_prec-10          \t  954640\t      1218 ns/op\t    2248 B/op\t       7 allocs/op\nBenchmarkFormatDecimalRat/SmallRationalExtremePrecision/big.Float.Text_auto_prec\nBenchmarkFormatDecimalRat/SmallRationalExtremePrecision/big.Float.Text_auto_prec-10              \t  848620\t      1361 ns/op\t    1000 B/op\t      23 allocs/op\nBenchmarkFormatDecimalRat/SmallRationalExtremePrecision/strconv.FormatFloat_specific_prec\nBenchmarkFormatDecimalRat/SmallRationalExtremePrecision/strconv.FormatFloat_specific_prec-10     \t 1237326\t       971.2 ns/op\t    2048 B/op\t       2 allocs/op\nBenchmarkFormatDecimalRat/SmallRationalExtremePrecision/strconv.FormatFloat_auto_prec\nBenchmarkFormatDecimalRat/SmallRationalExtremePrecision/strconv.FormatFloat_auto_prec-10         \t14577657\t        80.76 ns/op\t      48 B/op\t       2 allocs/op\nBenchmarkFormatDecimalRat/LargeRationalLargeFloatPrec\nBenchmarkFormatDecimalRat/LargeRationalLargeFloatPrec/FormatDecimalRat\nBenchmarkFormatDecimalRat/LargeRationalLargeFloatPrec/FormatDecimalRat-10                        \t  545242\t      2147 ns/op\t    2865 B/op\t      27 allocs/op\nBenchmarkFormatDecimalRat/LargeRationalLargeFloatPrec/big.Rat.FloatString\nBenchmarkFormatDecimalRat/LargeRationalLargeFloatPrec/big.Rat.FloatString-10                     \t  638080\t      1901 ns/op\t    2105 B/op\t      21 allocs/op\nBenchmarkFormatDecimalRat/LargeRationalLargeFloatPrec/big.Float.Text_specific_prec\nBenchmarkFormatDecimalRat/LargeRationalLargeFloatPrec/big.Float.Text_specific_prec-10            \t   50710\t     23560 ns/op\t    3441 B/op\t       9 allocs/op\nBenchmarkFormatDecimalRat/LargeRationalLargeFloatPrec/big.Float.Text_auto_prec\nBenchmarkFormatDecimalRat/LargeRationalLargeFloatPrec/big.Float.Text_auto_prec-10                \t   15801\t     74854 ns/op\t   10061 B/op\t      31 allocs/op\nBenchmarkFormatDecimalRat/LargeRationalLargeFloatPrec/strconv.FormatFloat_specific_prec\nBenchmarkFormatDecimalRat/LargeRationalLargeFloatPrec/strconv.FormatFloat_specific_prec-10       \t 3546964\t       334.3 ns/op\t     640 B/op\t       2 allocs/op\nBenchmarkFormatDecimalRat/LargeRationalLargeFloatPrec/strconv.FormatFloat_auto_prec\nBenchmarkFormatDecimalRat/LargeRationalLargeFloatPrec/strconv.FormatFloat_auto_prec-10           \t20512221\t        58.41 ns/op\t      26 B/op\t       2 allocs/op\nBenchmarkFormatDecimalRat/LargeRationalExtremelyLargeFloatPrec\nBenchmarkFormatDecimalRat/LargeRationalExtremelyLargeFloatPrec/FormatDecimalRat\nBenchmarkFormatDecimalRat/LargeRationalExtremelyLargeFloatPrec/FormatDecimalRat-10               \t     471\t   2552662 ns/op\t  776811 B/op\t     321 allocs/op\nBenchmarkFormatDecimalRat/LargeRationalExtremelyLargeFloatPrec/big.Rat.FloatString\nBenchmarkFormatDecimalRat/LargeRationalExtremelyLargeFloatPrec/big.Rat.FloatString-10            \t     471\t   2545415 ns/op\t  600754 B/op\t     311 allocs/op\nBenchmarkFormatDecimalRat/LargeRationalExtremelyLargeFloatPrec/big.Float.Text_specific_prec\nBenchmarkFormatDecimalRat/LargeRationalExtremelyLargeFloatPrec/big.Float.Text_specific_prec-10   \t       2\t 901303584 ns/op\t 1300160 B/op\t     296 allocs/op\nBenchmarkFormatDecimalRat/LargeRationalExtremelyLargeFloatPrec/big.Float.Text_auto_prec\nBenchmarkFormatDecimalRat/LargeRationalExtremelyLargeFloatPrec/big.Float.Text_auto_prec-10       \t       1\t2698766125 ns/op\t 3901464 B/op\t     903 allocs/op\nBenchmarkFormatDecimalRat/LargeRationalExtremelyLargeFloatPrec/strconv.FormatFloat_specific_prec\nBenchmarkFormatDecimalRat/LargeRationalExtremelyLargeFloatPrec/strconv.FormatFloat_specific_prec-10         \t   24925\t     47629 ns/op\t  131072 B/op\t       2 allocs/op\nBenchmarkFormatDecimalRat/LargeRationalExtremelyLargeFloatPrec/strconv.FormatFloat_auto_prec\nBenchmarkFormatDecimalRat/LargeRationalExtremelyLargeFloatPrec/strconv.FormatFloat_auto_prec-10             \t20095803\t        59.01 ns/op\t      26 B/op\t       2 allocs/op\nBenchmarkFormatDecimalRat/NearZeroHighPrecision\nBenchmarkFormatDecimalRat/NearZeroHighPrecision/FormatDecimalRat\nBenchmarkFormatDecimalRat/NearZeroHighPrecision/FormatDecimalRat-10                                         \t 1391803\t       861.0 ns/op\t     928 B/op\t      25 allocs/op\nBenchmarkFormatDecimalRat/NearZeroHighPrecision/big.Rat.FloatString\nBenchmarkFormatDecimalRat/NearZeroHighPrecision/big.Rat.FloatString-10                                      \t 2916322\t       400.2 ns/op\t     432 B/op\t      14 allocs/op\nBenchmarkFormatDecimalRat/NearZeroHighPrecision/big.Float.Text_specific_prec\nBenchmarkFormatDecimalRat/NearZeroHighPrecision/big.Float.Text_specific_prec-10                             \t  962440\t      1245 ns/op\t     576 B/op\t       8 allocs/op\nBenchmarkFormatDecimalRat/NearZeroHighPrecision/big.Float.Text_auto_prec\nBenchmarkFormatDecimalRat/NearZeroHighPrecision/big.Float.Text_auto_prec-10                                 \t  318824\t      3804 ns/op\t    1736 B/op\t      25 allocs/op\nBenchmarkFormatDecimalRat/NearZeroHighPrecision/strconv.FormatFloat_specific_prec\nBenchmarkFormatDecimalRat/NearZeroHighPrecision/strconv.FormatFloat_specific_prec-10                        \t 2067316\t       584.5 ns/op\t      96 B/op\t       2 allocs/op\nBenchmarkFormatDecimalRat/NearZeroHighPrecision/strconv.FormatFloat_auto_prec\nBenchmarkFormatDecimalRat/NearZeroHighPrecision/strconv.FormatFloat_auto_prec-10                            \t10607116\t       111.7 ns/op\t     120 B/op\t       3 allocs/op\nBenchmarkFormatDecimalRat/RepeatingDecimalHighPrecision\nBenchmarkFormatDecimalRat/RepeatingDecimalHighPrecision/FormatDecimalRat\nBenchmarkFormatDecimalRat/RepeatingDecimalHighPrecision/FormatDecimalRat-10                                 \t  343083\t      3463 ns/op\t    4274 B/op\t      27 allocs/op\nBenchmarkFormatDecimalRat/RepeatingDecimalHighPrecision/big.Rat.FloatString\nBenchmarkFormatDecimalRat/RepeatingDecimalHighPrecision/big.Rat.FloatString-10                              \t  380966\t      3084 ns/op\t    3241 B/op\t      21 allocs/op\nBenchmarkFormatDecimalRat/RepeatingDecimalHighPrecision/big.Float.Text_specific_prec\nBenchmarkFormatDecimalRat/RepeatingDecimalHighPrecision/big.Float.Text_specific_prec-10                     \t 1478578\t       807.4 ns/op\t    1224 B/op\t       7 allocs/op\nBenchmarkFormatDecimalRat/RepeatingDecimalHighPrecision/big.Float.Text_auto_prec\nBenchmarkFormatDecimalRat/RepeatingDecimalHighPrecision/big.Float.Text_auto_prec-10                         \t  863964\t      1381 ns/op\t    1000 B/op\t      23 allocs/op\nBenchmarkFormatDecimalRat/RepeatingDecimalHighPrecision/strconv.FormatFloat_specific_prec\nBenchmarkFormatDecimalRat/RepeatingDecimalHighPrecision/strconv.FormatFloat_specific_prec-10                \t 2043848\t       570.9 ns/op\t    1024 B/op\t       2 allocs/op\nBenchmarkFormatDecimalRat/RepeatingDecimalHighPrecision/strconv.FormatFloat_auto_prec\nBenchmarkFormatDecimalRat/RepeatingDecimalHighPrecision/strconv.FormatFloat_auto_prec-10                    \t14437392\t        81.47 ns/op\t      48 B/op\t       2 allocs/op\nBenchmarkFormatDecimalRat/VeryUnevenLarge\nBenchmarkFormatDecimalRat/VeryUnevenLarge/FormatDecimalRat\nBenchmarkFormatDecimalRat/VeryUnevenLarge/FormatDecimalRat-10                                               \t 1593127\t       756.0 ns/op\t     848 B/op\t      21 allocs/op\nBenchmarkFormatDecimalRat/VeryUnevenLarge/big.Rat.FloatString\nBenchmarkFormatDecimalRat/VeryUnevenLarge/big.Rat.FloatString-10                                            \t 2024514\t       591.4 ns/op\t     720 B/op\t      16 allocs/op\nBenchmarkFormatDecimalRat/VeryUnevenLarge/big.Float.Text_specific_prec\nBenchmarkFormatDecimalRat/VeryUnevenLarge/big.Float.Text_specific_prec-10                                   \t 3008886\t       397.1 ns/op\t     576 B/op\t       8 allocs/op\nBenchmarkFormatDecimalRat/VeryUnevenLarge/big.Float.Text_auto_prec\nBenchmarkFormatDecimalRat/VeryUnevenLarge/big.Float.Text_auto_prec-10                                       \t  990708\t      1162 ns/op\t    1184 B/op\t      22 allocs/op\nBenchmarkFormatDecimalRat/VeryUnevenLarge/strconv.FormatFloat_specific_prec\nBenchmarkFormatDecimalRat/VeryUnevenLarge/strconv.FormatFloat_specific_prec-10                              \t 6518438\t       184.2 ns/op\t     272 B/op\t       3 allocs/op\nBenchmarkFormatDecimalRat/VeryUnevenLarge/strconv.FormatFloat_auto_prec\nBenchmarkFormatDecimalRat/VeryUnevenLarge/strconv.FormatFloat_auto_prec-10                                  \t11787958\t       101.5 ns/op\t     104 B/op\t       3 allocs/op\nPASS\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoeycumines%2Ffloater","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoeycumines%2Ffloater","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoeycumines%2Ffloater/lists"}