Skip to content

Commit

Permalink
Closes #870. (It wasn't my code, I swear! )
Browse files Browse the repository at this point in the history
  • Loading branch information
fasterthanlime committed Apr 1, 2015
1 parent 11eb3e2 commit e7f1783
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdk/math/Random.ooc
Expand Up @@ -7,7 +7,7 @@ import structs/[ArrayList,List]
srand: extern func(Int)

/**
C stdlib function to generate a random integer between INT_MIN and INT_MAX
C stdlib function to generate a random integer between 0 and INT_MAX
*/
rand: extern func -> Int
RAND_MAX: extern const Int
Expand All @@ -25,7 +25,7 @@ Random: class {
state := static Time microtime()

/**
:return: a pseudo-random number between INT_MIN and INT_MAX, generated using
:return: a pseudo-random number between 0 and INT_MAX, generated using
the C functions srand/rand
*/
random: static func -> Int {
Expand Down

0 comments on commit e7f1783

Please sign in to comment.