{The S-lang C Library Reference}: SLang_init_slmath

Next Previous Contents

## 57. SLang_init_slmath

Synopsis

  Initialize the interpreter math intrinsics

Usage

  `int SLang_init_slmath (void)`

Description

  The `SLang_init_slmath` function initializes the interpreter's mathematical intrinsic functions and makes them available to the language. The intrinsic functions include `sin`, `cos`, `tan`, etc... It returns `0` if successful, or `-1` upon failure.

Notes

  This function must be called after `SLang_init_slang`. It adds the preprocessor symbol `__SLMATH__` to the interpreter.

See Also

  `SLang_init_slang, SLang_init_slfile, SLang_init_slunix`

Next Previous Contents