Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: mathematical rounding...

From: rpgwriter:y:ahoo at: 6-Nov-2001 14:36

--- Thomas E Conlin <[tomc--darkwing--uoregon--edu]> wrote:
> > in the case of .5 there is a choice and different > results have been in > vouge at different times "round to the even number" > and "random" are a > couple of strategies I recall but I think these days > "round towards zero" > is expected > (the point of these equally (in)valid strateges is > to minimize bias)
I've almost universally seen (except when there was a specific reason for using another method) round *away* from zero at 0.5 as the standard. Chris Dicely