AminetAminet
Search:
84512 packages online
About
Recent
Browse
Search
Upload
Setup
Services

dev/e/random.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:Random Number Generator, Amiga E Module
Author:xork at amiga.org (Kalle Raisanen)
Uploader:xork amiga org (Kalle Raisanen)
Type:dev/e
Architecture:m68k-amigaos
Date:2003-02-23
Download:http://aminet.net/dev/e/random.lha - View contents
Readme:http://aminet.net/dev/e/random.readme
Downloads:526

	Random - Amiga E Module, Copyright © 2003 Kalle Raisanen.
   Based on PRNGs written by George Marsaglia.

This little module gives you a couple of fairly good random number
functions. Written mostly as an exercise in writing modules.
   See <http://xorksplace.port5.com/> for updates.
   Report any bugs to <xork at amiga.org>

   Procedures:
	seedRand()
	   Sets seeds for random number generation.
	getRand()
	   Returns a 16 bit random number.
	getRandRange(max)
	   Returns a random number between 0 and max-1.

See the source for more info.

	Copyright

   Copyright © 2003 Kalle Raisanen.

   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; either version 2 of the License, or
   (at your option) any later version.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   You should have received a copy of the GNU General Public License
   along with this program; if not, write to the Free Software
   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.


Contents of dev/e/random.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 1019    2035  50.1% -lh5- 15a8 Feb 22  2003 random/random.e
[generic]                  491     920  53.4% -lh5- 4f34 Feb 22  2003 random/random.m
[generic]                  708    1349  52.5% -lh5- e64b Feb 22  2003 random/random.readme
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         3 files    2218    4304  51.5%            Feb 23  2003

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>