| Revision: | 1.3 | 
| Committed: | Fri Nov 5 03:31:37 2004 UTC (21 years ago) by greg | 
| Content type: | text/plain | 
| Branch: | MAIN | 
| CVS Tags: | HEAD | 
| Changes since 1.2: | +1 -1 lines | 
| State: | FILE REMOVED | 
| Log Message: | Removed unused programs and files from distribution (sources to CVS attic)  | 
| # | User | Rev | Content | 
|---|---|---|---|
| 1 | greg | 1.3 | /* RCSid: $Id: random.h,v 1.2 2003/07/14 22:24:00 schorsch Exp $ */ | 
| 2 | greg | 1.1 | /* | 
| 3 | * random.h - header file for random(3) function. | ||
| 4 | * | ||
| 5 | * 10/1/85 | ||
| 6 | */ | ||
| 7 | schorsch | 1.2 | #ifndef _RAD_META_RANDOM_H_ | 
| 8 | #define _RAD_META_RANDOM_H_ | ||
| 9 | greg | 1.1 | |
| 10 | schorsch | 1.2 | #include <stdlib.h> | 
| 11 | |||
| 12 | #ifdef __cplusplus | ||
| 13 | extern "C" { | ||
| 14 | #endif | ||
| 15 | greg | 1.1 | |
| 16 | #define frandom() (random()/2147483648.0) | ||
| 17 | schorsch | 1.2 | |
| 18 | #ifdef __cplusplus | ||
| 19 | } | ||
| 20 | #endif | ||
| 21 | #endif /* _RAD_META_RANDOM_H_ */ | ||
| 22 |