Skip to content

data: output tensor values as .4g#102

Merged
guillon merged 1 commit into
xtc-tools:mainfrom
guillon:dev/cguillon/fp-round
Jul 2, 2026
Merged

data: output tensor values as .4g#102
guillon merged 1 commit into
xtc-tools:mainfrom
guillon:dev/cguillon/fp-round

Conversation

@guillon

@guillon guillon commented Jul 2, 2026

Copy link
Copy Markdown
Member

Motivation

Limit precision of string value for tensor data.

This avoids differences in tests due to fp rounding.

Description

On string output changed format from :g to :.4g keeping only 4 significant digits.

Limit precision of string value for tensor data.
This avoids differences in tests due to fp rounding.
@guillon guillon self-assigned this Jul 2, 2026
@guillon guillon added enhancement New feature or request testing Add more test or rework in tests and removed enhancement New feature or request labels Jul 2, 2026
@guillon guillon enabled auto-merge July 2, 2026 11:11
@codecov

codecov Bot commented Jul 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@guillon guillon merged commit bc92b44 into xtc-tools:main Jul 2, 2026
4 checks passed
@guillon guillon deleted the dev/cguillon/fp-round branch July 2, 2026 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

testing Add more test or rework in tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant