Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

exp(3) [php man page]

EXP(3)									 1								    EXP(3)

exp - Calculates the exponent of e

SYNOPSIS
float exp (float $arg) DESCRIPTION
Returns e raised to the power of $arg. Note ' e' is the base of the natural system of logarithms, or approximately 2.718282. PARAMETERS
o $arg - The argument to process RETURN VALUES
'e' raised to the power of $arg EXAMPLES
Example #1 exp(3) example <?php echo exp(12) . " "; echo exp(5.7); ?> The above example will output: 1.6275E+005 298.87 SEE ALSO
log(3), pow(3). PHP Documentation Group EXP(3)

Check Out this Related Man Page

EXP(3)							   BSD Library Functions Manual 						    EXP(3)

NAME
exp, expf, exp2, exp2f, expm1, expm1f, -- exponential functions LIBRARY
Math Library (libm, -lm) SYNOPSIS
#include <math.h> double exp(double x); float expf(float x); double exp2(double x); float exp2f(float x); double expm1(double x); float expm1f(float x); DESCRIPTION
The exp() and the expf() functions compute the base e exponential value of the given argument x. The exp2(), and exp2f() functions compute the base 2 exponential of the given argument x. The expm1() and the expm1f() functions computes the value exp(x)-1 accurately even for tiny argument x. RETURN VALUES
These functions will return the appropriate computation unless an error occurs or an argument is out of range. The functions exp() and expm1() detect if the computed value will overflow, set the global variable errno to ERANGE and cause a reserved operand fault on a VAX. SEE ALSO
math(3) STANDARDS
The exp() functions conform to ANSI X3.159-1989 (``ANSI C89''). The exp2(), exp2f(), expf(), expm1(), and expm1f() functions conform to ISO/IEC 9899:1999 (``ISO C99''). HISTORY
The exp() functions appeared in Version 6 AT&T UNIX. The expm1() function appeared in 4.3BSD. BSD
September 13, 2011 BSD
Man Page

12 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

File/directory information......

Basically i have done created the script below, and it functions ok, it prints the access rights the user has. But i need it to print the group permissions, and other permissions, it would also be helpful if i could print the permissions in numeric form aswell, if it is possible. I have looked in... (50 Replies)
Discussion started by: Makaveli.2003
50 Replies

2. Shell Programming and Scripting

Pop up dialog box on remote computers

I need to send out messages to over 100 clients in my sector. I want it to pop up a dialog box letting them know to save work and log out. I have the reboot script created just need the warning please. Thanks (35 Replies)
Discussion started by: deaconf19
35 Replies

3. Shell Programming and Scripting

Script on pattern matching and print lines and export to excel

Hi Friends, I am working on a script.. Looking forward for your expert help..... My requirement is: I have a text file where, need to search equip * RTF or end of line with RTF ,once this pattern is found then print 2nd line, 6th line, 7th line to a different file. For Ex: equip 1... (34 Replies)
Discussion started by: shaliniyadav
34 Replies

4. Infrastructure Monitoring

need script for passwd , can't use expect tool

Hi , as others users here , i'm searching for a script which can automate "passwd" dialog . I saw threads about "expect tool" but on my platforms , "C" product isn't installed and i'm not the admin so i can't install it. is there another way to do it , with a "simple" shell script ??? ... (35 Replies)
Discussion started by: Nicol
35 Replies

5. Shell Programming and Scripting

need script for passwd , can't use expect tool

(35 Replies)
Discussion started by: Nicol
35 Replies

6. Emergency UNIX and Linux Support

Grep expression between double quotes

I need a quick expression to be able to pull out all the data in a text file that looks like "http:// some random url etc" So it should grab any string that begins with "http:// and ends with " There are other double quotes in the file but I only want the ones that start with "http:// and the... (31 Replies)
Discussion started by: glev2005
31 Replies

7. Shell Programming and Scripting

AWK Script Issue insert newline for a regular expression match

Hi , I am having an issue with the Awk script to insert newline for a regular expression match Having a file like this FILE1 #################### RXOER , RXERA , RXERC , RXERD .RXEA(RXBSN), RXERD , REXCD input RXEGT buffer RXETRY ####################### Want to match the RXE... (38 Replies)
Discussion started by: jaita
38 Replies

8. Post Here to Contact Site Administrators and Moderators

Bits - The Unix and Linux Forums (Experimental) Virtual Currency

Hello. I've searched the site but can't find a link to what the "Bits" and "bank account" is on my user profile. Can someone link me or briefly explain? (76 Replies)
Discussion started by: candlejack
76 Replies

9. Solaris

Tilde prefix returns invalid home directory.

I am trying to find the home directory of users on a UNIX (Solaris/AIX) box using echo ~usernameThis does return the home directory for all valid users. For some reason this command also outputs home directory which are non-existent for few users who seem not to have logon access to that... (31 Replies)
Discussion started by: thinkster
31 Replies

10. Shell Programming and Scripting

awk command not working as expected

Following one line of awk code removes first 3 characters from each line but when I run the same code on another linux platform it doesn't work and only prints blank lines for each record. Can anyone please explain why this doesn't work? (31 Replies)
Discussion started by: later_troy
31 Replies

11. OS X (Apple)

Noob trying to improve

Hi everyone! This is my first post here, I hope that I will not already be violating any rule! I also would like to apologize in advance as my post will definitely be a noob post... please have patience and faith :rolleyes:! Now that I have set the ground rules :D:D, my objective is trying... (39 Replies)
Discussion started by: Ardzii
39 Replies

12. Open Source

What editor does everyone use?

I was looking through the topics and I wasn't sure if this was the best place to post this question: I was wondering, out of curiosity, which software everyone was using to code their scripts in. I do mostly sh/ksh and my favorite has always been EditPlus because it is small, fast, yet powerful.... (409 Replies)
Discussion started by: yongho
409 Replies