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

allow [nbx] to show 'nan' and 'inf'/"-inf" and don't clip input #631

Closed
wants to merge 4 commits into from
Closed

Conversation

porres
Copy link
Contributor

@porres porres commented May 12, 2019

the first 2 commits closes #629
the 3rd commit closes #633

@porres porres changed the title allow [nbx] to show 'nan' allow [nbx] to show 'nan' and 'inf'/"-inf" May 12, 2019
@porres
Copy link
Contributor Author

porres commented May 12, 2019

the test

Screen Shot 2019-05-12 at 02 32 29

@porres
Copy link
Contributor Author

porres commented May 12, 2019

for the nan, I used a 'isnan' check - gatom does that too. What I didn't do is have a check if the last value was also a nan, but maybe Miller can do that in the way it's considered best? I wasn't sure.

refarding inf/-inf, I also got inspired on how gatom handles this.

@porres porres changed the title allow [nbx] to show 'nan' and 'inf'/"-inf" allow [nbx] to show 'nan' and 'inf'/"-inf" and don't clip input May 12, 2019
@umlaeute umlaeute added severity:feature suggestion for an enhancement and removed severity:feature suggestion for an enhancement labels Jun 18, 2019
@porres
Copy link
Contributor Author

porres commented Jun 27, 2019

I see this marked as a "feature" and I'm not sure about that. At least not being able to print nans is clearly a bug to me. The other issues (printing 'inf' and not clip values) are just a fix for a consistent behaviour for the iemguis and also atom float box

@porres
Copy link
Contributor Author

porres commented May 13, 2020

I guess I also need to create a compatibility flag for the new unclipped behavior, see #633 (comment)

@porres
Copy link
Contributor Author

porres commented May 14, 2020

closing in favor of #999

@porres porres closed this May 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
severity:feature suggestion for an enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

nbx clips incoming values no "inf" and "nan" for [nbx]
2 participants