summaryrefslogtreecommitdiff
path: root/test/files/run/bug4201.scala
Commit message (Collapse)AuthorAgeFilesLines
* My early attempts to implement non-integral ran...Paul Phillips2011-03-231-0/+7
My early attempts to implement non-integral ranges in a way which was useful without having lots of floating point traps were less than successful. One of the bigger backfires is that the requirement not to round (trying, and failing anyway, to avoid surprises with methods like "contains") inflicts runtime errors. The simple way to improve this, which seems a good idea anyway, is to make the default math context something less inclined to exceptions. Default BigDecimal mc is now DECIMAL128. References #1812, #4201 and puts #4201 back to normal priority. Review by community.