2018-08-17 01:13:21 -07:00
|
|
|
#pragma once
|
|
|
|
|
2018-08-17 01:34:58 -07:00
|
|
|
#include "ref.hpp"
|
|
|
|
#include "util.hpp"
|
2018-08-31 23:27:20 -07:00
|
|
|
#include "function_utils.hpp"
|
2018-08-17 01:13:21 -07:00
|
|
|
extern "C" {
|
|
|
|
#include "libabacus.h"
|
|
|
|
}
|
|
|
|
|
|
|
|
FUNCTION(print_string);
|
|
|
|
FUNCTION(to_string_num);
|
|
|
|
FUNCTION(to_string_bool);
|
|
|
|
FUNCTION(to_string_unit);
|
2018-08-17 01:34:58 -07:00
|
|
|
|
2018-08-17 01:13:21 -07:00
|
|
|
FUNCTION(plus);
|
|
|
|
FUNCTION(minus);
|
|
|
|
FUNCTION(times);
|
|
|
|
FUNCTION(divide);
|
2018-08-17 01:34:58 -07:00
|
|
|
FUNCTION(pow);
|
|
|
|
|
2018-08-17 01:13:21 -07:00
|
|
|
FUNCTION(lt);
|
|
|
|
FUNCTION(lte);
|
|
|
|
FUNCTION(equals);
|
|
|
|
FUNCTION(gt);
|
|
|
|
FUNCTION(gte);
|
2018-08-17 01:34:58 -07:00
|
|
|
|
2018-08-17 01:13:21 -07:00
|
|
|
FUNCTION(negate);
|
2018-08-18 17:35:33 -07:00
|
|
|
FUNCTION(factorial);
|
2018-08-17 01:34:58 -07:00
|
|
|
|
2018-08-17 01:13:21 -07:00
|
|
|
FUNCTION(ln);
|
|
|
|
FUNCTION(exp);
|
2018-08-17 01:34:58 -07:00
|
|
|
|
2018-08-18 17:41:32 -07:00
|
|
|
FUNCTION(sqrt);
|
|
|
|
|
2018-08-17 01:13:21 -07:00
|
|
|
FUNCTION(sin);
|
|
|
|
FUNCTION(cos);
|
|
|
|
FUNCTION(tan);
|
2018-08-17 01:34:58 -07:00
|
|
|
|
2018-08-17 01:13:21 -07:00
|
|
|
FUNCTION(arcsin);
|
|
|
|
FUNCTION(arccos);
|
|
|
|
FUNCTION(arctan);
|
2018-08-17 01:34:58 -07:00
|
|
|
|
2018-08-17 01:13:21 -07:00
|
|
|
FUNCTION(quit);
|
|
|
|
FUNCTION(request_precision);
|