Re:Real Programmers Don't Use Pascal (1982)
by sheikheddy on Thursday March 28, 2019 @03:35AM
(#19510100)
Actually, integers are a subset of the real numbers. I think you mean complex numbers with a non-zero imaginary component.
[ Parent
| on HN ]
Re:Real Programmers Don't Use Pascal (1982)
by Someone on Thursday March 28, 2019 @01:51PM
(#19514720)
In Pascal Real’s aren’t necessarily a superset of Integer’s (both can be four bytes, with, for example, 2^30+1 representable as an Integer, but not as a Real)
Re:Real Programmers Don't Use Pascal (1982)
by mysterydip on Thursday March 28, 2019 @05:55AM
(#19510693)
I'm so used to talking data types I forgot in math you're absolutely correct!
Cooncidentally in Pascal, real and integer are the names of two numeric data types.
Re:Real Programmers Don't Use Pascal (1982)
by sheikheddy on Wednesday April 03, 2019 @01:43PM
(#19565406)
That's good to know! I was born after Pascal's peak, so I've never used it, so I wasn't aware that I was wrong in a sense :D