Calculation examples
Formal calculation systems
Article REF: H3308 V1
Calculation examples
Formal calculation systems

Author : Didier PINCHON

Publication date: December 10, 1996 | Lire en français

Logo Techniques de l'Ingenieur You do not have access to this resource.
Request your free trial access! Free trial

Already subscribed?

2. Calculation examples

The following calculations were carried out using the Axiom [2] system. They can easily be performed with other systems. A few explanations are all that's needed to understand the syntax.

  • Every object in Axiom has a name, a type and a value. The : symbol assigns the type and the := symbol assigns the value. So, after executing a : Integer := 5, a represents an integer of value 5.

  • When an evaluation is requested, Axiom returns the result value and its type. An environment command can be used to suppress the printing of the result type: this is the case in these examples. When an evaluation request ends with ; , the result of this evaluation is not displayed on the screen: it is an intermediate calculation.

...
You do not have access to this resource.
Logo Techniques de l'Ingenieur

Exclusive to subscribers. 97% yet to be discovered!

You do not have access to this resource. Click here to request your free trial access!

Already subscribed?


Article included in this offer

"Software technologies and System architectures"

( 227 articles )

Complete knowledge base

Updated and enriched with articles validated by our scientific committees

Services

A set of exclusive tools to complement the resources

View offer details