How much will Houdini take for the final results of 1/3 and 1/6 in Houdini. Is it 0.166 or 0.167 for 1/6
???
Houdini ,1/3 ,1/6
851 2 1- CGxiao
- Member
- 13 posts
- Joined: June 2015
- Offline
- ifree
- Member
- 54 posts
- Joined: Sept. 2008
- Offline
- GOgraphR
- Member
- 67 posts
- Joined: Oct. 2018
- Offline
ifree
float number in Houdini is a single-precision float number which has 6 or 7 digits.
Just as a side note...
https://docs.python.org/3/tutorial/floatingpoint.html [docs.python.org] has a good explanation on this.
So always keep in mind: Floating point arithmetic almost always needs some grains salt'n'peppa!
Edited by GOgraphR - April 22, 2023 11:27:26
-
- Quick Links