-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Controllable precision when printing #5949
Labels
Milestone
Comments
FYI this feature can be added without too much hassel since it's supported on both llvm and spirv based backends.
Adding this to v1.2.0 milestone so that we can get back to it in the future if no one picks it up before that. |
cc: @dream189free |
dream189free
added a commit
that referenced
this issue
Mar 31, 2023
Issue: #5949 ### Brief Summary This PR enables formatted printing in Taichi scope using `str.format()` and f-strings. --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
quadpixels
pushed a commit
to quadpixels/taichi
that referenced
this issue
May 13, 2023
…hi-dev#7686) Issue: taichi-dev#5949 ### Brief Summary This PR enables formatted printing in Taichi scope using `str.format()` and f-strings. --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Concisely describe the proposed feature
The user would expect
1.23
.Describe the solution you'd like (if any)
IIRC Taichi stores the numbers in a buffer and format them on the host. Perhaps we should allow a richer syntax?
Also note that we need support for vector/matrix and even structs.
Additional comments
Not sure if this feature request was already raised somewhere...
The text was updated successfully, but these errors were encountered: