Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Code monkeys vs computer scientists

Name: Anonymous 2017-01-15 22:04

Code monkeys say ``unsigned integer'' where computer scientists say natural number.

Name: KnowYourMeme 2017-01-15 22:55

nice meme!

Name: Anonymous 2017-01-15 23:02

#ifdef I_REALLY_LIKE_MACROS
#define natural unsigned
#else
typedef unsigned natural;
#endif

Name: Anonymous 2017-01-16 2:09

>>1
Except that natural numbers only include '0' sometimes. Natural != unsigned.

>>3
The #define version is better because it allows mixing with long/short modifiers (of course only when natural numbers include 0).

Name: Anonymous 2017-01-18 4:40

>>1
Then computer scientists are utterly stupid: uints have a finite domain (depending the compiler and platform), while natural numbers have an infinite domain. Sage.

Name: Anonymous 2017-01-18 5:11

>>5
``Integers'' aren't the same thing as math integers either.

Name: Anonymous 2017-01-18 16:10

>>6
The ``int" type is an unbounded subset of the integers.

Name: Anonymous 2017-01-18 19:44

unbounded subset
On a physical device.

Name: Anonymous 2017-01-18 20:55

>>8
The ANSI C Standard doesn't require implementations to obey the laws of physics.

Name: Anonymous 2017-01-18 21:46

>>8
The ANSI C Standard doesn't allow /g/ memes.

Name: Anonymous 2017-01-18 21:50

>>10
The ANSI /g/ Standard doesn't say anything about quoting the implications of a post. It does however require that you check these dubs.

Name: Anonymous 2017-01-19 0:23

>>11
/g/ doesn't even check dubs. Also, nice dubs.

Name: Gerald Jay Sussman 2017-01-19 0:33

Actually it's ℤ/2sizeof(int)ℤ.

Name: Anonymous 2017-01-19 1:32

>>13
sizeof is in chars, not bits. The minimum size of char in C is 8 bits.

Name: Anonymous 2017-01-19 1:47

Why do you hate the deaf

Name: Anonymous 2017-01-21 23:06

>>4
Naturals include 0.

Name: Anonymous 2017-01-22 0:21

>>16
Not in my textbook.

Name: Anonymous 2017-01-22 17:05

>>17
ISO 80000-2
Your textbook is wrong.

Name: Anonymous 2017-01-22 17:19

>>18
Well, look at clause 12.5 of said standard. It clearly says that a natural logarithm is to be denoted by ln x and explicitly says that log x should not be used in place of ln x. Yet the standard C function in math.h is named

double log (double x)

and there is no double ln(double x) in there. Thus, Cee language is not ISO 80000-2 compliant and your argument is invalid.

Don't change these.
Name: Email:
Entire Thread Thread List