mruby/c VM Source Code release 4.0.0
Loading...
Searching...
No Matches
c_numeric.c File Reference

mruby/c Integer and Float class More...

#include "mrubyc.h"
#include "_autogen_class_integer.h"
#include "_autogen_class_float.h"
Include dependency graph for c_numeric.c:

Go to the source code of this file.

Macros

#define MRBC_POW   powf

Functions

static mrbc_int_t shift (mrbc_int_t x, mrbc_int_t y)

Detailed Description

mruby/c Integer and Float class

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

This file is distributed under BSD 3-Clause License.

Definition in file c_numeric.c.

Macro Definition Documentation

◆ MRBC_POW

#define MRBC_POW   powf

Definition at line 32 of file c_numeric.c.

Function Documentation

◆ shift()

mrbc_int_t shift ( mrbc_int_t x,
mrbc_int_t y )
static

x-bit left shift for x

Definition at line 169 of file c_numeric.c.

Here is the caller graph for this function: