Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • Numbers are in a float array. Numbers are mostly not large but there is no user defined greatest boundary specified. The 6 decimals is always relevant. and no, it is not ok to loose precision. Commented Oct 13, 2011 at 15:47
  • ok, as you have a float array, you already might have lost (not loost) precision. In this case, I would just define a variable and iterate over the list, updating the variable whenever you find a value greater than the variable. Commented Oct 13, 2011 at 15:51