summaryrefslogtreecommitdiff
path: root/src/stable/randombase.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2012-05-23 00:39:31 +0000
committerMike Buland <eichlan@xagasoft.com>2012-05-23 00:39:31 +0000
commit20ee81a7b2d44ec985e99b4ee1bcd08fa25175d3 (patch)
treeec6174abd3a21f8d803d26267f9c03ddc468746e /src/stable/randombase.h
parentce793e31f387c0715fa5b50c20e06510cc3e95ff (diff)
downloadlibbu++-20ee81a7b2d44ec985e99b4ee1bcd08fa25175d3.tar.gz
libbu++-20ee81a7b2d44ec985e99b4ee1bcd08fa25175d3.tar.bz2
libbu++-20ee81a7b2d44ec985e99b4ee1bcd08fa25175d3.tar.xz
libbu++-20ee81a7b2d44ec985e99b4ee1bcd08fa25175d3.zip
We have a nice selection of basic randomness functions now.
Diffstat (limited to '')
-rw-r--r--src/stable/randombase.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/stable/randombase.h b/src/stable/randombase.h
index aff1d45..a5a4f42 100644
--- a/src/stable/randombase.h
+++ b/src/stable/randombase.h
@@ -19,6 +19,9 @@ namespace Bu
19 19
20 virtual void seed( int32_t iSeed )=0; 20 virtual void seed( int32_t iSeed )=0;
21 virtual int32_t rand()=0; 21 virtual int32_t rand()=0;
22 virtual int32_t rand( int32_t iMax );
23 virtual int32_t rand( int32_t iMin, int32_t iMax );
24 virtual double randNorm();
22 }; 25 };
23}; 26};
24 27