Post Reply 
R.I.P. Niklaus Wirth
01-13-2024, 04:26 PM (This post was last modified: 01-13-2024 04:39 PM by Albert Chan.)
Post: #16
RE: R.I.P. Niklaus Wirth
Both C and Pascal support pointers, but C is "weakly typed", in the sense we can type-cast to whatever.
C is great if you know what you are doing ...

gcc:1> double x = M_PI;
gcc:2> printf("%.17g, bits = %#016I64x \n", x, * (uint64_t *) &x);

3.1415926535897931, bits = 0x400921fb54442d18

I guess tihs is "what" vs "where" (just some memory) joke comes from.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
R.I.P. Niklaus Wirth - Jurgen Keller - 01-04-2024, 04:52 PM
RE: R.I.P. Niklaus Wirth - ijabbott - 01-06-2024, 11:12 AM
RE: R.I.P. Niklaus Wirth - BruceH - 01-06-2024, 11:39 PM
RE: R.I.P. Niklaus Wirth - ijabbott - 01-13-2024, 05:26 PM
RE: R.I.P. Niklaus Wirth - BruceH - 01-16-2024, 02:11 AM
RE: R.I.P. Niklaus Wirth - jthole - 01-04-2024, 08:00 PM
RE: R.I.P. Niklaus Wirth - Namir - 01-04-2024, 08:04 PM
RE: R.I.P. Niklaus Wirth - WillMarchant - 01-05-2024, 02:19 AM
RE: R.I.P. Niklaus Wirth - Namir - 01-05-2024, 03:16 AM
RE: R.I.P. Niklaus Wirth - Jurgen Keller - 01-05-2024, 01:59 PM
RE: R.I.P. Niklaus Wirth - BruceH - 01-06-2024, 10:23 AM
RE: R.I.P. Niklaus Wirth - Eddie W. Shore - 01-06-2024, 04:11 AM
RE: R.I.P. Niklaus Wirth - harryp - 01-06-2024, 03:51 PM
RE: R.I.P. Niklaus Wirth - Peter Klein - 01-06-2024, 08:07 PM
RE: R.I.P. Niklaus Wirth - Wes Loewer - 01-13-2024, 02:22 PM
RE: R.I.P. Niklaus Wirth - jthole - 01-13-2024, 03:25 PM
RE: R.I.P. Niklaus Wirth - Albert Chan - 01-13-2024 04:26 PM
RE: R.I.P. Niklaus Wirth - HrastProgrammer - 01-23-2024, 01:37 PM



User(s) browsing this thread: 4 Guest(s)