-
-
Notifications
You must be signed in to change notification settings - Fork 489
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
Fractional part function {x} #21232
Comments
Commit: |
New commits:
|
Author: Ralf Stephan |
comment:3
Probably can just return Integer(0)
I use this braces notation myself, but I can imagine that it's not universally used, and some people may prefer |
Reviewer: Matthias Koeppe |
comment:5
Also, going through int seems dangerous here |
comment:7
Replying to @mkoeppe:
I retract this comment. I didn't realize |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:10
Looks good to me. For full symbolic functionality (which I never use), I guess one would need to tie this in with the simplification and assumptions machinery, so that things like this behave better:
Perhaps on a follow-up ticket? |
Changed branch from u/rws/fractional_part_function__x_ to |
This symbolic function will also be needed by the periodic piecewise function enhancement (#21215). It is in Sympy too.
https://en.wikipedia.org/wiki/Fractional_part
Component: symbolics
Author: Ralf Stephan
Branch/Commit:
141a784
Reviewer: Matthias Koeppe
Issue created by migration from https://trac.sagemath.org/ticket/21232
The text was updated successfully, but these errors were encountered: