Open jfinkels opened 3 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hello! I started digging into this, and it looks like BigDecimal has some shortcomings. I'd like to use the BigDecimal::from_str_radix()
function to parse input (either before or after splitting on p
), but that function only allows a radix of 10. I considered some sort of hack to work around this, but at that point I'm just reimplementing what bigdecimal should do. I'm going to look into making a PR to bigdecimal, but failing that/in the meantime, I'd appreciate some guidance here. Thanks!
See https://www.gnu.org/software/coreutils/manual/html_node/Floating-point.html#Floating-point
For example,