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

Fix bug: sexp_read_number can't parse a/b@c-style number correctly. #898

Merged
merged 1 commit into from
Feb 26, 2023

Conversation

nkoguro
Copy link
Contributor

@nkoguro nkoguro commented Feb 25, 2023

The current logic can't parse a/b@c-style number correctly.

For example,

% chibi-scheme
> 1@2
-0.4161468365471424+0.9092974268256817i
> 1/1@2
0.4161468365471425-0.9092974268256816i
> 1@4
-0.6536436208636119-0.7568024953079282i
> 1/1@4
zsh: segmentation fault  chibi-scheme

@ashinn
Copy link
Owner

ashinn commented Feb 26, 2023

Thanks!

@ashinn ashinn merged commit 82dfe95 into ashinn:master Feb 26, 2023
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.

2 participants