Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
type/integer - check for an object of type integer
Calling Sequence
type(x, integer)
type(x, integer[n])
type(x, integer[a..b])
Parameters
x
-
any expression
n
1, 2, 4, or 8
a, b
integers with
Description
The type(x, integer) function returns true if x is a Maple integer.
If the type is provided with a single integer index n, then type(expr, integer[n]) returns true if, and only if, is one of , , , or , and expr is an integer representable as a signed -byte hardware integer.
The call type(expr, integer[a .. b ]) returns true if, and only if, expr is an integer satisfying the inequalities and , where a and b are integers with .
Examples
See Also
integer, type, type/atomic, type/even, type/literal, type/numeric, type/odd, type/rational
Download Help Document