Phasor 2.2.0
Stack VM based Programming Language
Loading...
Searching...
No Matches
arithmetic.h File Reference
#include <stdint.h>
Include dependency graph for arithmetic.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int64_t asm_iadd (int64_t a, int64_t b)
 Native addition.
double asm_fladd (double a, double b)
int64_t asm_isub (int64_t a, int64_t b)
 Native subtraction.
double asm_flsub (double a, double b)
int64_t asm_imul (int64_t a, int64_t b)
 Native multiplication.
double asm_flmul (double a, double b)
int64_t asm_flneg (double a)
 Native negation.
int64_t asm_idiv (int64_t a, int64_t b)
 Native division.
double asm_fldiv (double a, double b)
int64_t asm_imod (int64_t a, int64_t b)
 Native modulus.
double asm_flmod (double a, double b)
double asm_sqrt (double a)
 Native square root.
double asm_pow (double a, double b)
 Native power.
double asm_log (double a)
 Native natural logarithm.
double asm_exp (double a)
 Native exponential.
double asm_sin (double a)
 Native sine.
double asm_cos (double a)
 Native cosine.
double asm_tan (double a)
 Native tangent.

Function Documentation

◆ asm_cos()

double asm_cos ( double a)

Native cosine.

Definition at line 72 of file crt.c.

Here is the caller graph for this function:

◆ asm_exp()

double asm_exp ( double a)

Native exponential.

Definition at line 64 of file crt.c.

Here is the caller graph for this function:

◆ asm_fladd()

double asm_fladd ( double a,
double b )

Definition at line 7 of file crt.c.

Here is the caller graph for this function:

◆ asm_fldiv()

double asm_fldiv ( double a,
double b )

Definition at line 39 of file crt.c.

Here is the caller graph for this function:

◆ asm_flmod()

double asm_flmod ( double a,
double b )

Definition at line 47 of file crt.c.

Here is the caller graph for this function:

◆ asm_flmul()

double asm_flmul ( double a,
double b )

Definition at line 23 of file crt.c.

Here is the caller graph for this function:

◆ asm_flneg()

int64_t asm_flneg ( double a)

Native negation.

Definition at line 31 of file crt.c.

Here is the caller graph for this function:

◆ asm_flsub()

double asm_flsub ( double a,
double b )

Definition at line 15 of file crt.c.

Here is the caller graph for this function:

◆ asm_iadd()

int64_t asm_iadd ( int64_t a,
int64_t b )

Native addition.

Definition at line 4 of file crt.c.

Here is the caller graph for this function:

◆ asm_idiv()

int64_t asm_idiv ( int64_t a,
int64_t b )

Native division.

Definition at line 36 of file crt.c.

Here is the caller graph for this function:

◆ asm_imod()

int64_t asm_imod ( int64_t a,
int64_t b )

Native modulus.

Definition at line 44 of file crt.c.

Here is the caller graph for this function:

◆ asm_imul()

int64_t asm_imul ( int64_t a,
int64_t b )

Native multiplication.

Definition at line 20 of file crt.c.

Here is the caller graph for this function:

◆ asm_isub()

int64_t asm_isub ( int64_t a,
int64_t b )

Native subtraction.

Definition at line 12 of file crt.c.

Here is the caller graph for this function:

◆ asm_log()

double asm_log ( double a)

Native natural logarithm.

Definition at line 60 of file crt.c.

Here is the caller graph for this function:

◆ asm_pow()

double asm_pow ( double a,
double b )

Native power.

Definition at line 56 of file crt.c.

Here is the caller graph for this function:

◆ asm_sin()

double asm_sin ( double a)

Native sine.

Definition at line 68 of file crt.c.

Here is the caller graph for this function:

◆ asm_sqrt()

double asm_sqrt ( double a)

Native square root.

Definition at line 52 of file crt.c.

Here is the caller graph for this function:

◆ asm_tan()

double asm_tan ( double a)

Native tangent.

Definition at line 76 of file crt.c.

Here is the caller graph for this function: