This website works better with JavaScript.
Home
Help
Sign In
cacalabs
/
libcaca
mirror of
https://github.com/cacalabs/libcaca.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
7
Wiki
Activity
Browse Source
* libee/math.c: fixed a thinko in ee_rand().
tags/v0.99.beta14
Sam Hocevar
sam
21 years ago
parent
fb5c5ca6fc
commit
179c30a504
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libee/math.c
+ 1
- 1
libee/math.c
View File
@@ -28,7 +28,7 @@
int ee_rand(int min, int max)
{
return min + (int)((1.0*(max-min)) * rand() / (RAND_MAX+1.0));
return min + (int)((1.0*(max-min
+1
)) * rand() / (RAND_MAX+1.0));
}
int ee_sqrt(int a)
Write
Preview
Loading…
Cancel
Save