The com.maplesoft.openmaple.Numeric class represents a Maple numeric object (a float or an integer). As Numeric publicly inherits from Algebraic, it provides all of the member functions from the Algebraic class as well as those listed here.

Method Summary

boolean isByte()

•

isByte returns true if the value represented by this Numeric is an integer within the range of a Java byte.

boolean isShort()

•

isShort returns true if the value represented by this Numeric is an integer within the range of a Java short.

boolean isInt()

•

isInt returns true if the value represented by this Numeric is an integer within the range of a Java int.

boolean isLong()

•

isLong returns true if the value represented by this Numeric is an integer within the range of a Java long.

boolean isInteger()

•

isInteger returns true if the value represented by this Numeric is an integer.

boolean isUnnamedZero()

•

isUnnamedZero returns true if the value represented by this Numeric is zero.

Maplesoft™, a subsidiary of Cybernet Systems Co. Ltd. in Japan, is the leading provider of high-performance software tools for engineering, science, and mathematics. Its product suite reflects the philosophy that given great tools, people can do great things.