comp.lang.ada
 help / color / mirror / Atom feed
From: Paul Rubin <no.email@nospam.invalid>
Subject: Re: Quick inverse square root
Date: Mon, 04 Jan 2021 13:06:01 -0800	[thread overview]
Message-ID: <87mtxo9zuu.fsf@nightsong.com> (raw)
In-Reply-To: 6489a95e-dae1-486e-9aee-78e9d6e50ecan@googlegroups.com

Matt Borchers <mattborchers@gmail.com> writes:
> As I said, I turned a bunch of ugly C into a few lines of pretty Ada
> for a skeptic.

You could write the C code similarly to the Ada, using a union.  I don't
know why the C program isn't written that way.  Maybe it is very old.

  reply	other threads:[~2021-01-04 21:06 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-02 22:26 Quick inverse square root Matt Borchers
2021-01-02 23:18 ` Jeffrey R. Carter
2021-01-03 10:58 ` Dmitry A. Kazakov
2021-01-03 22:31   ` Matt Borchers
2021-01-03 23:47     ` Jeffrey R. Carter
2021-01-04  3:50       ` Matt Borchers
2021-01-04  4:28         ` Matt Borchers
2021-01-04 11:04         ` Jeffrey R. Carter
2021-01-04 11:13     ` AdaMagica
2021-01-04 11:28       ` AdaMagica
2021-01-04 12:13         ` Dmitry A. Kazakov
2021-01-04 13:39 ` Egil H H
2021-01-04 20:55   ` Matt Borchers
2021-01-04 21:06     ` Paul Rubin [this message]
2021-01-05  2:22       ` Matt Borchers
2021-01-07 17:49     ` Brian Drummond
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox