ViewVC Help
View File
|
Revision Log
|
Show Annotations
|
Download File
|
Root Listing
root
/
Development
/
ray
/
src
/
common
/
random.h
Colored Diff
Long Colored Diff
Full Colored Diff
Unidiff
Context Diff
Side by Side
(
Generate patch
)
Comparing ray/src/common/random.h (file contents):
Revision
2.2
by
greg
, Mon Sep 21 12:02:27 1992 UTC vs.
Revision
2.3
by
greg
, Thu Jun 9 16:40:53 1994 UTC
#
Line 10
|
Line 10
10
11
#ifdef MSDOS
12
13
<
#define random rand
13
>
#define random() ((long)rand()<<16^(long)rand()<<6^(long)rand()>>4)
14
15
#define frandom() (rand()*(1./32768.))
16
Diff Legend
–
Removed lines
+
Added lines
<
Changed lines
>
Changed lines