|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.extex.interpreter.type.AbstractCode
org.extex.interpreter.primitives.register.real.AbstractMath
org.extex.interpreter.primitives.register.real.MathDiv
public class MathDiv
Math. divide
Example
\the\mathdiv 0.234 0.34 \real7=\mathdiv 0.56 0.34 \real8=\mathdiv\real7\real8 \count99=\mathdiv 1.34 0.34
Constructor Summary | |
---|---|
MathDiv(CodeToken token)
Creates a new object. |
Method Summary | |
---|---|
protected Real |
calculate(Context context,
TokenSource source,
Typesetter typesetter)
Calculate |
Methods inherited from class org.extex.interpreter.primitives.register.real.AbstractMath |
---|
convertCount, convertReal, execute, the |
Methods inherited from class org.extex.interpreter.type.AbstractCode |
---|
getLocalizer, getName, getToken, isIf, isOuter, readResolve, toString, toText, toText |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.extex.interpreter.type.Theable |
---|
the |
Methods inherited from interface org.extex.interpreter.primitives.register.real.RealConvertible |
---|
convertReal |
Methods inherited from interface org.extex.interpreter.parser.CountConvertible |
---|
convertCount |
Constructor Detail |
---|
public MathDiv(CodeToken token)
token
- the initial token for the primitiveMethod Detail |
---|
protected Real calculate(Context context, TokenSource source, Typesetter typesetter) throws ConfigurationException, HelpingException, TypesetterException
calculate
in class AbstractMath
context
- the contextsource
- the token sourcetypesetter
- the typesetter
HelpingException
- in case of an error
ConfigurationException
- in case of an configuration error
TypesetterException
- in case of an error in the typesetter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |