We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
fold=true
It is annoying that
@variables x substitute(1//2 * cos(x), x => 0)
gives 0.5 and not 1//2.
0.5
1//2
The reason is natural: cos(0) evaluates to 1.0 (not 1), giving (1//2) * 1.0, which is converted to 0.5. Is there a way to fix this?
cos(0)
1.0
1
(1//2) * 1.0
The text was updated successfully, but these errors were encountered:
@shashi is this intended?
Sorry, something went wrong.
No branches or pull requests
It is annoying that
gives
0.5
and not1//2
.The reason is natural:
cos(0)
evaluates to1.0
(not1
), giving(1//2) * 1.0
, which is converted to0.5
.Is there a way to fix this?
The text was updated successfully, but these errors were encountered: