Path: csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: Spurious diagnostic messages Date: Sun, 02 Aug 2015 16:56:52 -0700 Organization: None to speak of Lines: 25 Message-ID: References: <662af1c4-4aff-4810-9a67-b913281fab59@googlegroups.com> <874mn5ty3y.fsf@kst-u.example.com> <87egm8qis7.fsf@kst-u.example.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: mx02.eternal-september.org; posting-host="945944de09706c9b4e29b53c9d2efdc2"; logging-data="5374"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19KwJEQ5581Wmx06Uu/wGdT" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:xEyBhLLzAltm739ZReuzxcH3a4I= sha1:ggBH/MxFuCQZhyJq1utG5FVG7d4= Xref: csiph.com comp.lang.c:66759 Tim Rentsch writes: [...] > Are you suggesting that WG14 didn't go through their normal > vetting process for the additional math functions and > addition to C99? That seems very unlikely to me. In any case > there is a big difference between that math functionality and > binary constants, namely, the math functions offer capabilities > which are essentially unavailable if those functions weren't > there, whereas binary constants may be somewhat more convenient > but don't really provide any new capability. That is an enormous > difference. Perhaps is a bigger deal than I'm aware of, but it seems to me that it provides some added convenience but no real new functionality. Likewise sqrtf() and other float functions (which can be emulated by converting the argument from double to float and the result from float to double). sqrtd() and friends do provide functionality that didn't exist in C90, at least for implementations where long double is bigger than double. -- Keith Thompson (The_Other_Keith) kst-u@mib.org Working, but not speaking, for JetHead Development, Inc. "We must do something. This is something. Therefore, we must do this." -- Antony Jay and Jonathan Lynn, "Yes Minister"