CTAT 3.1 Function Reference

edu.cmu.pact.BehaviorRecorder.ProblemModel.Matcher.Functions
Class modf

java.lang.Object
  extended by edu.cmu.pact.BehaviorRecorder.ProblemModel.Matcher.Functions.modf

public class modf
extends java.lang.Object

Remainder function.


Constructor Summary
modf()
           
 
Method Summary
static void main(String[] args)
           
 double modf(double dividend, double modulus)
          Return n%m, the remainder of n divided by m.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

modf

public modf()
Method Detail

main

public static void main(String[] args)
Parameters:
args -

modf

public double modf(double dividend,
                   double modulus)

Return n%m, the remainder of n divided by m.

Parameters:
dividend -
modulus -
Returns:
result of dividend % modulus

CTAT 3.1 Function Reference