• Subject: Re: Math functions - shareware
  • From: Francis Lapeyre <flapeyre@xxxxxxxxxxxxxx>
  • Date: Sun, 08 Jun 1997 16:27:17 -0500
  • Organization: Communiqué, Inc. User

James W. Kilgore wrote:
> 
> Hello all,
> 
> In the spirit of the "shareware" discussion earlier, would one of you
> with access to a C compler offer a callable program to compute
> third/fourh root of a number.
> 
> Or if someone knows how this can be accomplished in RPG/400 let us in on
> it.
> 
> Specifically we need to go beyond square root to 2.25 2.5 2.75 3.0 3.25
> 3.5 3.74 and 4.0
> 
> TIA
> ===================================================
> James W. Kilgore   | Progressive Data Systems, Inc.
> President          | 311 31st Ave SE
> (206) 848-2567     | Puyallup, Washington 98374 USA
> qappdsn@ibm.net    | http://www.ultimate.org/PDS

James: 

If you have V3R1, you can use the EVAL statement in RPGIV to come up the
nth root of any number. EVAL has exponetiation.  The yth root of n is (n
** (1/y)). 

HTH.

-- 
Francis Lapeyre                    flapeyre@communique.net
----------------------------------------------------------
"The probability of life originating from accident is 
comparable to the probability of the Unabridged Dictionary
resulting from an explosion in a printing factory." 

Prof. Edwin Conklin

****** If you spam me, you will incur the wrath of your Internet **
****** Service Provider. I KNOW who you REALLY are!!***************

Opinions are my own. Otherwise, they are someone else's.
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* This is the Midrange System Mailing List!  To submit a new message,   *
* send your mail to "MIDRANGE-L@midrange.com".  To unsubscribe from     *
* this list send email to MAJORDOMO@midrange.com and specify            *
* 'unsubscribe MIDRANGE-L' in the body of your message.  Questions      *
* should be directed to the list owner / operator: david@midrange.com   *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.