pmor
pmor

Reputation: 6296

Is there any hosted C implementations which have CHAR_BIT > 8?

Follow-up question for this answer.

Is there any hosted C implementations (__STDC_HOSTED__ is 1) which have CHAR_BIT > 8?

If so, then which ones?

UPD. Fix typo: before: __STDC_HOSTED__ is 0, after: __STDC_HOSTED__ is 1.

Upvotes: 2

Views: 123

Answers (1)

mlp
mlp

Reputation: 825

I don't know if there was ever a post-standardisation version, but various Cray 64-bit vector supercomputers had a C compiler in which sizeof(long) == sizeof(double) == 1, a.k.a. everything is 64 bits wide.

Upvotes: 3

Related Questions