Article View: comp.sys.powerpc
Article #3235Re: Debate: PowerMac "trounces" Pentium....???
From: Christopher C. Wood
Date: Fri, 16 Feb 1996 18:24
Date: Fri, 16 Feb 1996 18:24
24 lines
1772 bytes
1772 bytes
In article <stephenkDMuGux.Iot@netcom.com>, stephenk@netcom.com (Stephen Knilans) writes: |> If you write code to directly convert a binary number to a human |> readable version, and find that it won't work the same on all |> processors, this is NOT the fault of C!!!!!!!!!!! It is because |> MANY processors are different! |> The libraries are there for a REASON! There are possibly HUNDREDS |> of number formats, and it is very difficult to provide for all. Look, I've shown a bunch of things with this thread. _none_ of the respondants pointed out that there is a "standard" library call to do this: itoa(). As documented in K&R (I'd cite page numbers, but I don't have it at this desk.) As _assumed_ in Stroustrup, 2nd ed. Guess what? This "standard" library call, in actual practice, isn't standard. Each platform has its own version. One version is even wrong in the manufacturers on-line documentation. Is this a fault with the "Standard" for C or C++ libraries? Or just the implementations. You tell me. Chris -- Speaking only for myself, of course. Chris Wood christw@lexis-nexis.com ChrisCWood@eworld.com
Technical Details
Message-ID:
<4g2i5q$dj7@meaddata.lexis-nexis.com>Path:
arc1-ca.pugleaf.net!newsfeeds.ans.net!lexis-nexis!meaddata!christwReferences:
<4fqdta$rhh@meaddata.lexis-nexis.com> <danpop.824303108@rscernix> <4fvmmm$o5j@meaddata.lexis-nexis.com> <stephenkDMuGux.Iot@netcom.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!newsfeeds.ans.net!lexis-nexis!meaddata!christw From: christw@meaddata.com (Christopher C. Wood) Newsgroups: comp.sys.powerpc,comp.os.linux.advocacy,comp.sys.mac.advocacy,comp.os.os2.advocacy,comp.sys.amiga.advocacy,comp.sys.intel Subject: Re: Debate: PowerMac "trounces" Pentium....??? Date: 16 Feb 1996 18:24:58 GMT Organization: LEXIS-NEXIS, Dayton OH Message-ID: <4g2i5q$dj7@meaddata.lexis-nexis.com> References: <4fqdta$rhh@meaddata.lexis-nexis.com> <danpop.824303108@rscernix> <4fvmmm$o5j@meaddata.lexis-nexis.com> <stephenkDMuGux.Iot@netcom.com> NNTP-Posting-Host: dolphin.lexis-nexis.com