Category:ALGOL 68: Difference between revisions

Content added Content deleted
m (→‎Status: Happy 51st/41st Birthdays - Hamming numbers - the 200th ALGOL 68 sample. This time it was by Marcel van der Veer, author of Algol 68 Genie)
No edit summary
Line 126: Line 126:
Depending on the context a MODE (type) will be coerced (widened) to another type if there is no loss
Depending on the context a MODE (type) will be coerced (widened) to another type if there is no loss
of precision. For example: An INT will be coerced to a REAL, and a REAL will be
of precision. For example: An INT will be coerced to a REAL, and a REAL will be
coerced to a LONG REAL. But not visa-versa. Examples:
coerced to a LONG REAL. But not vice-versa. Examples:
* INT to REAL
* INT to REAL
* REAL to COMPL
* REAL to COMPL