Grasshopper

algorithmic modeling for Rhino

Hey!

Can it be true that Grasshopper don't calculate under 1.0e-13???

Im currently working with a calculation (see attached) which works fine as long as the result is over 1.0e-13 but as soon as it goes below that it just returns 0.0...

Hope you guys can help

/Lasse

Views: 418

Attachments:

Replies to This Discussion

Grasshopper uses regular double precision mathematics. What you're seeing is rounding due to formatting. The value you're calculating is so close to zero that GH assumes it was actually meant to be zero. If you want to display numbers the way they really are, you need to use custom formatting:

Attachments:

Incidentally if you want to know what sort of formatting instructions you can use, this page lists them all.

Thanks a lot both of you! 

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service