Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/nan zero sign #153

Merged
merged 7 commits into from
Feb 16, 2024
Merged

Feature/nan zero sign #153

merged 7 commits into from
Feb 16, 2024

Conversation

jagerber48
Copy link
Owner

nan and zero floats have sign bits. These should be ignored by sciform formatting since they are not significant for e.g. physical science formatting. They may be relevant for computer science, but sciform focuses more on physical science (e.g. BIPM) applications.

Especially for nan, even in CS contexts it is very very rare if ever that the sign of nan matters. See: https://stackoverflow.com/questions/21349847/positive-vs-negative-nans/21350299#21350299

Copy link

codecov bot commented Feb 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (1217526) 100.00% compared to head (525eceb) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #153   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           31        31           
  Lines         1605      1617   +12     
=========================================
+ Hits          1605      1617   +12     
Flag Coverage Δ
3.10 100.00% <100.00%> (ø)
3.11 100.00% <100.00%> (ø)
3.12 100.00% <100.00%> (ø)
3.9 100.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jagerber48
Copy link
Owner Author

closes #147

@jagerber48 jagerber48 merged commit fa2383f into main Feb 16, 2024
6 checks passed
@jagerber48 jagerber48 deleted the feature/nan_zero_sign branch February 16, 2024 06:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant