Houdini ,1/3 ,1/6

   851   2   1
User Avatar
Member
13 posts
Joined: June 2015
Offline
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
???
Edited by CGxiao - April 22, 2023 07:16:28

Attachments:
1.png (61.0 KB)
2.png (54.1 KB)
3.png (50.9 KB)

User Avatar
Member
54 posts
Joined: Sept. 2008
Offline
float number in Houdini is a single-precision float number which has 6 or 7 digits.
User Avatar
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