Replies: 1 comment
-
Mojo doesn't have any built-in data types. The Mojo community is free to add any numeric types that it wants. Supporting posits won't be very useful unless CPUs and GPUs have instructions for operating on them. Currently, no major vendor supports them. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
There seem to be a lot of benefits to using posits to represent reals rather than floats. There is also nice efficiency that comes from some complex operations like inverses and exponents. I am not an expert in these ideas, but here are a few articles/posts that have discussed this in detail. Maybe it is the case that Mojo is built from the ground up with posits, and I don't know. But I wanted to raise this here so that others can share thoughts or comments.
Beta Was this translation helpful? Give feedback.
All reactions