Skip to content

Tests w/ Decimals More Than 8 Places Are Not Necessarily Invalid #153

Description

@cmoesel

The DecimalTenthStep, DecimalPosTenthStep, and DecimalNegTenthStep tests all provided literal decimals with more than 8 decimal places as input. They are all marked as invalid - meaning that engines should return an error. But the spec explicitly says that engines may support more precise decimals here:

Note that implementations must support at least the 28 digits of precision and 8 digits of scale, but may support more precise values.

As such, I don't think there is a single correct expected output; it depends on the engine. Perhaps these tests shouldn't be included at all?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions