com.tapina.robe.swi.clib.stdlib
Class Rand

java.lang.Object
  extended bycom.tapina.robe.runtime.Block
      extended bycom.tapina.robe.runtime.CodeBlock
          extended bycom.tapina.robe.swi.clib.Stub
              extended bycom.tapina.robe.swi.clib.stdlib.Rand
All Implemented Interfaces:
Executable

public class Rand
extends Stub

This function generates a psuedo-random number in the range from 0 to RAND_MAX . Returns: A psuedo-random number.


Field Summary
 
Fields inherited from class com.tapina.robe.swi.clib.Stub
A1, A2, A3, A4, FP, IP, log, LR, PC, SL, SP, V1, V2, V3, V4, V5, V6
 
Constructor Summary
Rand(RandomState state)
           
 
Method Summary
 void executeStub(Environment environment)
           
 
Methods inherited from class com.tapina.robe.swi.clib.Stub
execute, executeSubroutine, setAddress
 
Methods inherited from class com.tapina.robe.runtime.CodeBlock
isExtendable
 
Methods inherited from class com.tapina.robe.runtime.Block
getAddress
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Rand

public Rand(RandomState state)
Method Detail

executeStub

public void executeStub(Environment environment)
Specified by:
executeStub in class Stub


Copyright © 2003-2005 . All Rights Reserved.