Skip to content

GetDifferenceSettings: Move call to NegateRoundingMode to a more reasonable step #3178

@anba

Description

@anba

NegateRoundingMode is currently called between two (fallible) ValidateTemporalUnitValue calls. This looks a bit strange.

Suggestion:

  • Call NegateRoundingMode directly after GetRoundingModeOption.
  • Or call NegateRoundingMode directly before the Return step.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions