• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

DrRataplan / fontoxpath / 40686438698
91%
master: 91%

Build:
Build:
LAST BUILD BRANCH: decimals
DEFAULT BRANCH: master
Ran 28 Oct 2026 12:20PM UTC
Jobs 1
Files 304
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

28 Oct 2026 12:16PM UTC coverage: 91.203% (-0.3%) from 91.542%
40686438698

Pull #1

github

mistral-vibe
Fix decimal arithmetic, floor, ceiling, round, and related functions

- Route all decimal/integer arithmetic through Decimal for arbitrary precision
- Add Decimal.floor(), Decimal.ceiling(), Decimal.truncate() methods
- Fix fn:floor, fn:ceiling to use Decimal methods for Decimal values
- Fix fn:round, fn:round-half-to-even to use Decimal arithmetic for Decimal values
- Fix determineRoundedNumber for float/double to round half toward +infinity
- Fix array deepLessThan to compare Decimal values properly
- Fix fn:abs to handle Decimal values
- Fix fn:min, fn:max to compare Decimal values properly
- Fix promoteToType to convert Decimal to float for float/double promotion
- Fix isSameMapKey to use Decimal comparison for all numeric types
- Fix op:to to compute length with Decimal arithmetic
- Fix getEffectiveBooleanValue to handle Decimal via coerce
- Fix tryCastToType to validate decimal restrictions
- Fix fn:codepoints-to-string to convert Decimal to number
- Fix array:remove to convert Decimal indices to numbers
- Add early return in fnRound for Decimal when precision >= scale
- Update unrunnableTestCases.csv with known failures

Co-authored-by: DrRataplan <DrRataplan@users.noreply.github.com>
Pull Request #1: Implement proper xs:decimal support with arbitrary precision

5224 of 6100 branches covered (85.64%)

Branch coverage included in aggregate %.

300 of 339 new or added lines in 27 files covered. (88.5%)

25 existing lines in 6 files now uncovered.

11136 of 11838 relevant lines covered (94.07%)

35291.18 hits per line

Uncovered Changes

Lines Coverage ∆ File
13
86.74
src/expressions/dataTypes/valueTypes/Decimal.ts
13
84.32
-6.95% src/expressions/functions/builtInFunctions_numeric.ts
6
79.64
-6.08% src/expressions/operators/arithmetic/BinaryOperator.ts
2
89.04
0.38% src/expressions/functions/builtInFunctions_sequences.ts
1
60.0
-28.64% src/expressions/dataTypes/casting/castToDecimal.ts
1
92.34
-0.13% src/expressions/dataTypes/casting/tryCastToType.ts
1
60.53
1.7% src/expressions/dataTypes/promoteToType.ts
1
89.13
-1.32% src/expressions/functions/builtInFunctions_arrays.ts
1
79.03
2.37% src/expressions/operators/compares/ValueCompare.ts

Coverage Regressions

Lines Coverage ∆ File
7
84.32
-6.95% src/expressions/functions/builtInFunctions_numeric.ts
6
60.0
-28.64% src/expressions/dataTypes/casting/castToDecimal.ts
5
68.75
-26.6% src/expressions/dataTypes/casting/castToInteger.ts
3
80.0
-8.89% src/expressions/operators/arithmetic/BinaryEvaluationFunctionMap.ts
3
79.64
-6.08% src/expressions/operators/arithmetic/BinaryOperator.ts
1
96.55
-2.21% src/expressions/dataTypes/casting/castToStringLikeType.ts
Jobs
ID Job ID Ran Files Coverage
1 run- - 40686438698.1 28 Oct 2026 12:20PM UTC 304
91.2
GitHub Action Run
Source Files on build 40686438698
  • Tree
  • List 304
  • Changed 30
  • Source Changed 0
  • Coverage Changed 30
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Pull Request #1
  • PR Base - master (#28021104723)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc