<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<TITLE> {The S-lang C Library Reference}: SLang_init_slmath</TITLE>
<LINK HREF="cref-58.html" REL=next>
<LINK HREF="cref-56.html" REL=previous>
<LINK HREF="cref.html#toc57" REL=contents>
</HEAD>
<BODY>
<A HREF="cref-58.html">Next</A>
<A HREF="cref-56.html">Previous</A>
<A HREF="cref.html#toc57">Contents</A>
<HR>
<H2><A NAME="SLang_init_slmath"></A> <A NAME="s57">57. <B>SLang_init_slmath</B></A></H2>

<P>
<DL>
<DT><B> Synopsis </B><DD><P>Initialize the interpreter math intrinsics
<DT><B> Usage </B><DD><P><CODE>int SLang_init_slmath (void)</CODE>
<DT><B> Description </B><DD><P>The <CODE>SLang_init_slmath</CODE> function initializes the interpreter's
mathematical intrinsic functions and makes them available to the
language.  The intrinsic functions include <CODE>sin</CODE>, <CODE>cos</CODE>,
<CODE>tan</CODE>, etc...  It returns <CODE>0</CODE> if successful, or <CODE>-1</CODE>
upon failure.
<DT><B> Notes </B><DD><P>This function must be called after <CODE>SLang_init_slang</CODE>.  It adds
the preprocessor symbol <CODE>__SLMATH__</CODE> to the interpreter.
<DT><B> See Also </B><DD><P><CODE>SLang_init_slang, SLang_init_slfile, SLang_init_slunix</CODE>
</DL>
<P>
<P>
<P>
<HR>
<A HREF="cref-58.html">Next</A>
<A HREF="cref-56.html">Previous</A>
<A HREF="cref.html#toc57">Contents</A>
</BODY>
</HTML>
