comp.lang.ada
 help / color / mirror / Atom feed
From: Samuel Tardieu <sam@ada.eu.org>
To: kst@thomsoft.com (Keith Thompson)
Subject: Re: problemes mathematiques
Date: 1996/11/21
Date: 1996-11-21T00:00:00+00:00	[thread overview]
Message-ID: <qw67mnfd6ls.fsf@esmeralda.enst.fr> (raw)
In-Reply-To: E1750C.5s7@thomsoft.com


>>>>> "Keith" == Keith Thompson <kst@thomsoft.com> writes:

Keith> I presume "racine n i�me" is "nth root" (cube root, fourth
Keith> root, etc.). The formula given above, Sqrt (x) / Sqrt (n), is
Keith> incorrect.  The correct formula is x ** 1.0/n (you'll have
Keith> convert n to the appropriate floating-point type first).

I presume you mean x ** (1.0/n) ? (I thought first that it was a
mathematical formula rather than an Ada expression, but your comment
about n being converted to the appropriate floating-point type makes me
think differently :-)

  Sam
-- 
  Samuel Tardieu -- sam@ada.eu.org




  reply	other threads:[~1996-11-21  0:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-11-13  0:00 Apex problem w/aliased variables paul williams
1996-11-18  0:00 ` problemes mathematiques koniez tayeb
1996-11-18  0:00   ` Laurent Guerby
     [not found]   ` <01bbd5f1$b994c530$262a6282@cln49ae>
1996-11-21  0:00     ` Keith Thompson
1996-11-21  0:00       ` Samuel Tardieu [this message]
1996-11-22  0:00         ` Keith Thompson
1996-11-22  0:00           ` lecomteg
replies disabled

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