TheBestLinks.com
TheBestLinks.com
Numerical tower, Computing, Programming language, Scheme programming language... Print friendly version | Tell a friend
 
Navigation
Search
Toolbox

Numerical tower

From TheBestLinks.com

In computing, numerical tower refers to the set of number types (datatypes that represent numbers) in a given programming language.

The Scheme standard defines the following:

     +-------+
     |Integer|
    +---------+
    | Rational|
   +-----------+
   |   Real    |
  +-------------+
  |   Complex   |
 +---------------+
 |    Number     |
 +---------------+

Each type in the tower conceptually "sits on" a more fundamental type, so an Integer is a Rational is a ... Number, but the inverse is not necessarily true.

Typically a language will support a modified version of this numerical tower; Kawa Scheme, for example, extands this basic numerical tower with a Quantity type that's even more general than Number. Another popular variant is having both exact and inexact versions of the tower or parts of it. Some languages and language implementations do not support a full numerical tower or support it only in a limited way.

Related links


Top visited 0 of 0 links

[no links posted yet]

>> place link >>

Discussion

Last posted 0 of 0 messages

[no messages posted yet]

>> post message >>

Watch

You can add this article to your own "watchlist" and receive e-mail notification about all changes in this page.
 
   
Innovate it
This page was last modified 16:00, 22 Sep 2004.
  Content is available under GNU Free Documentation License 1.2.
Powered by MediaWiki