www.delorie.com/gnu/docs/calc/calc_121.html   search  
Buy the book!

GNU Emacs Calc 2.02 Manual

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

5. Data Types

This chapter discusses the various types of objects that can be placed on the Calculator stack, how they are displayed, and how they are entered. (See section Data Type Formats, for information on how these data types are represented as underlying Lisp objects.)

Integers, fractions, and floats are various ways of describing real numbers. HMS forms also for many purposes act as real numbers. These types can be combined to form complex numbers, modulo forms, error forms, or interval forms. (But these last four types cannot be combined arbitrarily: error forms may not contain modulo forms, for example.) Finally, all these types of numbers may be combined into vectors, matrices, or algebraic formulas.

5.1 Integers  The most basic data type.
5.2 Fractions  This and above are called rationals.
5.3 Floats  This and above are called reals.
5.4 Complex Numbers  This and above are called numbers.
5.5 Infinities  
5.6 Vectors and Matrices  
5.7 Strings  
5.8 HMS Forms  
5.9 Date Forms  
5.10 Modulo Forms  
5.11 Error Forms  
5.12 Interval Forms  
5.13 Incomplete Objects  
5.14 Variables  
5.15 Formulas  

  webmaster   donations   bookstore     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003