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

Equals sign followed by question mark writes cypher 5 under specific conditions #5371

Open
GitHubinatrix opened this issue Jan 18, 2025 · 3 comments

Comments

@GitHubinatrix
Copy link

If I try to write
#5 =?
what I get is
#5 =5

This was happening in portable version (x64) 6.23.712.1 rc and is still happening in portable (x64) 6.24.1221.1 on Windows 10 Enterprise 20H2 x64 [10.0.19042]

@hpwamr
Copy link
Collaborator

hpwamr commented Jan 18, 2025

In Menu Settings, uncheck "Calculate Tiny-Expressions"

Image

@GitHubinatrix
Copy link
Author

GitHubinatrix commented Jan 18, 2025

This checks out. Thank you for pointing me out to this

So it is not a bug but a selectable feature I did not knew about. Although I would like to point out that
5!+5=
does not result with
125
but with
0
as apparently the sign for factorial is not recognized as such and thus calculated [or recalled from some table] - while the hashtag sign does not break the equation i.e.
#5+5=10

@hpwamr
Copy link
Collaborator

hpwamr commented Jan 18, 2025

Take a look at this issue for more explanation: #2775 and #2775 (comment)

More about "Tiny-Expression" at: https://github.com/codeplea/tinyexpr.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants