View Single Post
Re: Portable, self-contained replacements for RANDOM_STUFF()
Old
  (#7)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: Portable, self-contained replacements for RANDOM_STUFF() - 07-01-2004

***BUGBUGBUG***

The RandomFloat() function was incorrect! It was returning numbers above the limit due to the "(to - from + 1)" bit! It's fixed now.

When I say I can't line up two words in C without writing a state of the art bug!



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote