Skip to content
This repository has been archived by the owner on Nov 20, 2020. It is now read-only.

LuaDist/lmathx

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
This code is extends the Lua math library with the functions available in C99.

To try the library, just edit Makefile to reflect your installation of Lua and
then run make. This will build the library and run a simple test. For detailed
installation instructions, see
	http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/install.html

There is no manual: see the summary below and a C99 reference manual, e.g.
http://www.dinkumware.com/manuals/default.aspx?manual=compleat&page=math.html

Read also test.lua, which shows the library in action.

This code is hereby placed in the public domain.

Please send comments, suggestions, and bug reports to lhf@tecgraf.puc-rio.br .

-------------------------------------------------------------------------------

mathx library:
abs		deg		frexp		log1p*		random
acos		erf*		gamma*		log2*		randomseed
acosh*		erfc*		huge		logb*		remainder*
asin		exp		hypot*		max		rint*
asinh*		exp2*		infinity*	min		round*
atan		expm1*		isfinite*	mod		scalbn*
atan2		fdim*		isinf*		modf		signbit*
atanh*		floor		isnan*		nan*		sin
cbrt*		fma*		isnormal*	nearbyint*	sinh
ceil		fmax*		ldexp		nextafter*	sqrt
copysign*	fmin*		lgamma*		pi		tan
cos		fmod		log		pow		tanh
cosh		fpclassify*	log10		rad		trunc*

*added in mathx
-------------------------------------------------------------------------------

About

This code extends the Lua math library with the functions available in C99

Resources

Stars

Watchers

Forks

Packages

No packages published