Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c > #103334
| From | Ben Bacarisse <ben.usenet@bsb.me.uk> |
|---|---|
| Newsgroups | comp.lang.c |
| Subject | Re: The C Library Reference Guide |
| Date | 2017-02-06 18:03 +0000 |
| Organization | A noiseless patient Spider |
| Message-ID | <87vasnci2v.fsf@bsb.me.uk> (permalink) |
| References | <o79hm0$svn$1@dont-email.me> <589862a6.6370671@news.xs4all.nl> <65026461-822c-489d-bedc-3bae9787b895@googlegroups.com> <8760kndzit.fsf@bsb.me.uk> <27235191-441b-4082-bdc9-992b260e441c@googlegroups.com> |
supercat@casperkitty.com writes: > On Monday, February 6, 2017 at 11:01:48 AM UTC-6, Ben Bacarisse wrote: >> supercat writes: >> > How many C99 or C11 implementations are there in which character codes 0-127 >> > represent anything other than ASCII? >> >> They are rare but they exist (or maybe have existed). See the Unisys C >> implementations whose documentation has been linked to more than once. > > The Unisys implementation whose documentation you linked to I didn't link to one this time and I've linked to more than one in the past. <snip> (But you cut the text this is reply to: "this" refers to "typecast") >> Maybe. There are some real confusions in the text so maybe this detail >> is not a big deal, but it has always struck me as odd. What is the >> strange appeal of talking about typecasting rather than conversions >> using a cast, or even just casting? What makes it so odd is that when >> someone is typecast they are given a role for which their appearance (or >> some other attribute) suits them. A typecast actor must do less >> "conversion" than normal to fit the role. A cast (when properly used) >> often performs a conversion from a value that can't "naturally" play >> that role. It's the exact opposite of the the right term. > > In the vast majority of implementations, the only casts which change > representation That's an unhelpful use of words. Casts convert values. > are those involving floating-point types, or those which > convert integers to larger types; the latter will zero-pad if the source > was unsigned, or sign-extend if signed. What is the representation of (_Bool)7? How is it the same as the representation of 7? How does talking about representations do anything by muddy the waters? Finally, are you addressing the issue of using the word "typecast"? I'm rarely sure what your actual point it. -- Ben.
Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
The C Library Reference Guide MehdiAmini <atorrses@gmail.com> - 2017-02-06 13:35 +0330
Re: The C Library Reference Guide Barry Schwarz <schwarzb@dqel.com> - 2017-02-06 03:42 -0800
Re: The C Library Reference Guide raltbos@xs4all.nl (Richard Bos) - 2017-02-06 11:56 +0000
Re: The C Library Reference Guide supercat@casperkitty.com - 2017-02-06 06:33 -0800
Re: The C Library Reference Guide raltbos@xs4all.nl (Richard Bos) - 2017-02-06 15:17 +0000
Re: The C Library Reference Guide Jerry Stuckle <jstucklex@attglobal.net> - 2017-02-06 10:53 -0500
Re: The C Library Reference Guide supercat@casperkitty.com - 2017-02-06 08:32 -0800
Re: The C Library Reference Guide Jerry Stuckle <jstucklex@attglobal.net> - 2017-02-06 11:47 -0500
Re: The C Library Reference Guide Malcolm McLean <malcolm.mclean5@btinternet.com> - 2017-02-06 09:01 -0800
Re: The C Library Reference Guide Barry Schwarz <schwarzb@dqel.com> - 2017-02-06 11:26 -0800
Re: The C Library Reference Guide Robert Wessel <robertwessel2@yahoo.com> - 2017-02-06 16:26 -0600
Re: The C Library Reference Guide Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-02-06 17:01 +0000
Re: The C Library Reference Guide supercat@casperkitty.com - 2017-02-06 09:45 -0800
Re: The C Library Reference Guide Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-02-06 18:03 +0000
Re: The C Library Reference Guide supercat@casperkitty.com - 2017-02-06 10:45 -0800
Re: The C Library Reference Guide Tim Rentsch <txr@alumni.caltech.edu> - 2017-02-09 07:58 -0800
Re: The C Library Reference Guide raltbos@xs4all.nl (Richard Bos) - 2017-02-06 20:43 +0000
Re: The C Library Reference Guide supercat@casperkitty.com - 2017-02-06 13:22 -0800
Re: The C Library Reference Guide raltbos@xs4all.nl (Richard Bos) - 2017-02-06 22:17 +0000
Re: The C Library Reference Guide Noob <root@127.0.0.1> - 2017-02-06 16:15 +0100
Re: The C Library Reference Guide luser droog <luser.droog@gmail.com> - 2017-02-06 10:34 -0800
Re: The C Library Reference Guide Tim Rentsch <txr@alumni.caltech.edu> - 2017-02-08 22:14 -0800
Re: The C Library Reference Guide Keith Thompson <kst-u@mib.org> - 2017-02-09 09:32 -0800
csiph-web