RIP
Tutorial
Tags
Topics
Examples
eBooks
Download sml (PDF)
sml
Getting started with sml
Comments
Interactive Programming using the REPL
Module System
Numeric Types
Arithmetic Operator Error with Mixed Numeric Types
Coercion of Real Values to Integers
Coersion of Integer Value to Real
Integer
Real
sml
Getting started with sml
Comments
Interactive Programming using the REPL
Module System
Numeric Types
Arithmetic Operator Error with Mixed Numeric Types
Coercion of Real Values to Integers
Coersion of Integer Value to Real
Integer
Real
sml
Numeric Types
Syntax
Real numbers must begin with one or more digits followed by a period followed by one or more digits.
~
is the operator to denote negative numbers
div
is the operator for integer division.
/
is the operator for real division.
Numeric Types Related Examples
Arithmetic Operator Error with Mixed Numeric Types
Coercion of Real Values to Integers
Coersion of Integer Value to Real
Integer
Real
PDF
- Download
sml
for free
Previous
Next