summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/func.cc10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/func.cc b/src/func.cc
index ee269d0..5dcb3e9 100644
--- a/src/func.cc
+++ b/src/func.cc
@@ -141,16 +141,6 @@ Value builtin_sign(const Context *, const std::vector<std::string>&, const std::
return Value();
}
-double frand()
-{
- return rand()/(double(RAND_MAX)+1);
-}
-
-double frand(double min, double max)
-{
- return (min>max) ? frand()*(min-max)+max : frand()*(max-min)+min;
-}
-
Value builtin_rands(const Context *, const std::vector<std::string>&, const std::vector<Value> &args)
{
bool deterministic = false;
contact: Jan Huwald // Impressum