Use math.fractions in math.vec #21994
Unanswered
jorgeluismireles
asked this question in
Questions and Answers
Replies: 1 comment
-
Use This looks more like a problem related to type promotion... |
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
-
I found very interesting the module
math.fractions
to be used in rational number problems.First I tried to use the fractions in vectors of module
math.vec
and got a lot of errors. Then I reduce the scope and noticemath.max()
works butmath.abs()
gives two errors. The code:The errors:
I wonder how hard is for the
fractions
to "implement" the zero comparison and the negative operator. And for the case to be used as members in vectors, I notice a lot of errors regarding cannot be square rooted among other operations used insidemath.vec
.Regards
Beta Was this translation helpful? Give feedback.
All reactions