10.07.2015 Views

Data Types & Type Checking - Ace

Data Types & Type Checking - Ace

Data Types & Type Checking - Ace

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Primitive <strong>Data</strong> <strong><strong>Type</strong>s</strong>• Rationals:– represented as pairs of integers (Scheme, Common LISP):• (rational? 6/10) => #t• Decimals:– use a base-10 encoding to avoid round-off in financial arithmetic.• Cobol, PL/I.Lecture 064

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!