Calculation examples
Formal calculation systems

Add to my library

H3308 V1 Article

Calculation examples


Formal calculation systems

Author : Didier PINCHON

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

Add to my library Add to my library

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"

( 230 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

Dans les ressources documentaires

La fusion multipistes

Au sein des systèmes de surveillance multisenseurs, la fusion multipistes a pour objectif d'éviter la sur...

Validation des résultats des logiciels scientifiques - Problème des approximations arithmétiques

Depuis plusieurs décennies maintenant, l’ordinateur effectue un nombre important d’opérations arithmétiqu...

Validation des résultats des logiciels scientifiques - Approche stochastique

La méthode CESTAC (Contrôle et estimation stochastique des arrondis de calculs) consiste à évaluer la fia...

Tous les livres blancs
Article Vers un nouveau record des cyberattaques ?
25 September 2019
Vers un nouveau record des cyberattaques ?

Année après année, c’est toujours le même constat : peu ou mal protégées, les entreprises et les administrations sont de plus en plus nombreuses à être victimes...

Toutes les actualités
Contact us