Date: 2009-04-20 05:17 pm (UTC)
From: [identity profile] khbrown.livejournal.com
Architecture / word length dependent, amongst other things?

Date: 2009-04-20 05:32 pm (UTC)
From: [identity profile] khbrown.livejournal.com
Didn't view the ALT text, though maybe the adage that a joke which requires explanation (= footnotes / alt / longdesc) is not a joke applies?

Date: 2009-04-21 12:08 am (UTC)
From: [identity profile] skington.livejournal.com
A friend at work found xkcd, and started on an archive binge. She was at something like #80 when we told her there were jokes in the alt text. She had to start again.

Date: 2009-04-20 06:14 pm (UTC)
ext_267: Photo of DougS, who has a round face with thinning hair and a short beard (Default)
From: [identity profile] dougs.livejournal.com
Me, I always go from 127 to -128.

Date: 2009-04-20 08:19 pm (UTC)
From: [identity profile] call-waiting.livejournal.com
If you're implementing it in C, the standard says that signed overflow is 'implementation defined', so if you're incrementing a 16-bit type, it depends on what your compiler does. And what the compiler does is probably largely dependent on what the hardware does, which may or may not be the obvious truncating overflow...

Date: 2009-04-20 08:25 pm (UTC)
From: [identity profile] khbrown.livejournal.com
Or the standard isn't really a standard, being implementation defined?

Date: 2009-04-20 08:38 pm (UTC)
From: [identity profile] call-waiting.livejournal.com
Well, it at least defines which things are defined, and which things aren't defined. The standard creates, as Vroomfondel would say, rigidly defined areas of doubt and uncertainty. Which is a lot better than not defining anything at all, and in fact better than defining absolutely everything because it allows the compiler some flexibility in making better use of the hardware.

Date: 2009-04-20 08:47 pm (UTC)
From: [identity profile] khbrown.livejournal.com
Unless 'everything' contained a sub-clause of leaving certain defined things up to the compiler to define / decide ;-) ?

March 2026

S M T W T F S
1 2 34567
891011121314
15161718192021
22232425262728
293031    

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Mar. 3rd, 2026 05:50 pm
Powered by Dreamwidth Studios