mruby/c VM Source Code release 3.4
Loading...
Searching...
No Matches
c_math.c File Reference

mruby/c Math module More...

#include "mrubyc.h"
#include "_autogen_module_math.h"
Include dependency graph for c_math.c:

Go to the source code of this file.

Functions

static double to_double (struct VM *vm, const mrbc_value *v)
void mrbc_init_module_math (void)

Detailed Description

mruby/c Math module

Copyright (C) 2015- Kyushu Institute of Technology.
Copyright (C) 2015- Shimane IT Open-Innovation Center.

This file is distributed under BSD 3-Clause License.

Definition in file c_math.c.

Function Documentation

◆ mrbc_init_module_math()

void mrbc_init_module_math ( void )

initialize

Definition at line 245 of file c_math.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ to_double()

double to_double ( struct VM * vm,
const mrbc_value * v )
static

convert mrbc_value to c double

Definition at line 36 of file c_math.c.

Here is the call graph for this function: