Project

Profile

Help

Bug #4866

closed

format-number(0.0e0, '0.0e0')

Added by Michael Kay over 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
-
Start date:
2020-12-27
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
10, trunk
Fix Committed on Branch:
10, trunk
Fixed in Maintenance Release:
Platforms:

Description

See https://saxonica.plan.io/boards/3/topics/8091

The result of format-number(0.0e0, '0.0e0') is 0.0e-1.

Intuitively one would expect 0.0e0, but in fact the rules are unclear: see https://github.com/w3c/qtspecs/issues/22

Actions #1

Updated by Michael Kay over 1 year ago

  • Status changed from New to Resolved
  • Priority changed from Low to Normal
  • Applies to branch 10, trunk added
  • Fix Committed on Branch 10, trunk added

Raised spec issue at https://github.com/w3c/qtspecs/issues/22

Added QT3 tests format-number-321 et seq.

Fixed code on 10 and 11 branches.

Updated draft 4.0 specification.

Actions #2

Updated by O'Neil Delpratt about 1 year ago

  • Status changed from Resolved to Closed
  • % Done changed from 0 to 100
  • Fixed in Maintenance Release 10.5 added

Bug fix applied to Saxon 10.5 maintenance release.

Please register to edit this issue

Also available in: Atom PDF