Article View: comp.lang.c
Article #287Re: official library of tiny functions lacking in c
From: MitchAlsup
Date: Mon, 12 Oct 2026 19:51
Date: Mon, 12 Oct 2026 19:51
34 lines
2233 bytes
2233 bytes
fir <profesor.fir@gmail.com> posted: > Lawrence D’Oliveiro pisze: > > On Tue, 29 Sep 2026 03:02:47 +0200, fir wrote: > > > >> Lawrence D’Oliveiro pisze: > >>> > >>> On Mon, 28 Sep 2026 12:42:31 +0200, fir wrote: > >>> > >>>> its not breaking down, depend how you define breaking down for me > >>>> for exampla sinf cosf or pow can be said are breaking don if thay > >>>> count to much bits > >>> > >>> Your code breaks down because it cannot produce a result which is > >>> perfectly representable within the implementation range. > >> > >> LOL, im not sure if i understand this above sentence but for me code > >> is broken if its too slow not when it present exact same graphics > >> just faster > > > > Doesn’t correctness of the code figure into your thinking? > > > > what correctnes? Correct IEEE 754-Math is defined where the pre-rounded result is calculated as-if to infinite precision and then rounded exactly once. If a result is representable in the IEEE container, then that is the result that must be delivered. Len2 fails to meet this criterion; hypot() does not. It is a quality of implementation issue.
Technical Details
Message-ID:
<1791834679-5857@newsgrouper.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!newsgrouper.org!.POSTED!not-for-mailReferences:
<119ajku$15pve$1@dont-email.me> <119blrr$1ka68$1@dont-email.me> <119d2en$22to9$1@dont-email.me> <119dgao$28hts$1@dont-email.me> <119f2fc$2rkb9$2@dont-email.me> <119f2nn$2rmst$1@dont-email.me> <119faj9$2trdt$2@dont-email.me> <119gaeb$38u01$1@dont-email.me>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!newsgrouper.org!.POSTED!not-for-mail From: MitchAlsup <user5857@newsgrouper.org.invalid> Newsgroups: comp.lang.c Subject: Re: official library of tiny functions lacking in c References: <119ajku$15pve$1@dont-email.me> <119blrr$1ka68$1@dont-email.me> <119d2en$22to9$1@dont-email.me> <119dgao$28hts$1@dont-email.me> <119f2fc$2rkb9$2@dont-email.me> <119f2nn$2rmst$1@dont-email.me> <119faj9$2trdt$2@dont-email.me> <119gaeb$38u01$1@dont-email.me> Date: Mon, 12 Oct 2026 19:51:19 GMT Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-ID: <1791834679-5857@newsgrouper.org> Injection-Info: newsgrouper.org; mail-complaints-to="newsgrouper@yahoo.com"; posting-account=user5857 Injection-Date: Mon, 12 Oct 2026 19:51:19 GMT User-Agent: Newsgrouper/0.9.0