diff options
author | 2017-05-27 14:28:40 +0200 | |
---|---|---|
committer | 2017-05-27 14:28:53 +0200 | |
commit | 994263eaf99a1cf2a436ce86b1047e8ca320e68a (patch) | |
tree | de15519bdc8a4e1deea4db107e319c557db50da1 /src/lib/netlist/plib/pfunction.h | |
parent | f83daa37a3d184d05e891b42f75ce35e906cd46f (diff) |
Add rand() function to pfunction expression parser. Use this to simulate
E-B noise in Cheeky Mouse and fix the "cheese" choose. [Couriersud]
Diffstat (limited to 'src/lib/netlist/plib/pfunction.h')
-rw-r--r-- | src/lib/netlist/plib/pfunction.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/netlist/plib/pfunction.h b/src/lib/netlist/plib/pfunction.h index 0e24a633f3b..50e279cf034 100644 --- a/src/lib/netlist/plib/pfunction.h +++ b/src/lib/netlist/plib/pfunction.h @@ -32,6 +32,7 @@ namespace plib { POW, SIN, COS, + RAND, /* random number between 0 and 1 */ PUSH_CONST, PUSH_INPUT }; |