[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: powN functions
From: |
John Darrington |
Subject: |
Re: powN functions |
Date: |
Tue, 6 May 2014 18:58:46 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Tue, May 06, 2014 at 09:19:21AM -0700, Ben Pfaff wrote:
On Tue, May 6, 2014 at 9:02 AM, John Darrington
<address@hidden> wrote:
> It's somewhat inconsistent that we have functions in src/libpspp/misc.h
> called powN; N : [2,4] which which calculate x^N when there is in glibc
> a function pow10 which calculates 10^x
>
> Should we find another name for these?
OK.
What names do you like?
How about exp2, exp3, exp4 ... ?
(In general, expN where the default value of N is e)
--
PGP Public key ID: 1024D/2DE827B3
fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
See http://sks-keyservers.net or any PGP keyserver for public key.
signature.asc
Description: Digital signature