EXP(3) BSD Library Functions Manual EXP(3)NAME
exp, exp2, expm1 -- exponential functions
The exp() function computes e**x, the base-e exponential of x.
The exp2() function computes 2**x, the base-2 exponential of x.
The expm1() function computes the base-e exponential of x , minus 1 accurately even for very small values of x.
exp(+-0) and exp2(+-0) return 1.
exp(-infinity) and exp2(-infinity) return +0.
exp(+infinity) and exp2(+infinity) return +infinity.
expm1(+-0) returns +-0.
expm1(-infinity) returns -1.
expm1(+infinity) returns +infinity.
For all these functions, a range error occurs if the magnitude of x is too large.
SEE ALSO math(3), infnan(3)STANDARDS
The exp() , expf() , exp2() , exp2f() , expm1() , and expm1f() functions conform to ISO/IEC 9899:1999(E).
4th Berkeley Distribution January 30, 2003 4th Berkeley Distribution
Check Out this Related Man Page
EXP(3) BSD Library Functions Manual EXP(3)NAME
exp, expf, exp2, exp2f, expm1, expm1f, -- exponential functions
Math Library (libm, -lm)
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.
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'').
The exp() functions appeared in Version 6 AT&T UNIX. The expm1() function appeared in 4.3BSD.
BSD September 13, 2011 BSD
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)
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)
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.
equip 1... (34 Replies)
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)
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)
I am having an issue with the Awk script to insert newline for a regular expression match
Having a file like this
RXOER , RXERA , RXERC , RXERD
.RXEA(RXBSN), RXERD , REXCD
Want to match the RXE... (38 Replies)
Discussion started by: jaita
8. Post Here to Contact Site Administrators and Moderators
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)
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)
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)
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)