mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-07-05 00:45:23 +00:00
infintesimal -> infinitesimal
This commit is contained in:
@@ -96,7 +96,7 @@ Sint32 SDL_rand_r(Uint64 *state, Sint32 n)
|
||||
|
||||
if (n < 0) {
|
||||
// The algorithm looks like it works for numbers < 0 but it has an
|
||||
// infintesimal chance of returning a value out of range.
|
||||
// infinitesimal chance of returning a value out of range.
|
||||
// Returning -SDL_rand(abs(n)) blows up at INT_MIN instead.
|
||||
// It's easier to just say no.
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user