Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
4d0583f
add float_gte
Rytaryu Apr 13, 2020
e63b936
add the builtin function, toint()
Rytaryu Apr 13, 2020
1a7897b
add float_mod
Rytaryu Apr 13, 2020
cc20332
add the funtions, sin() and cos()
Rytaryu Apr 13, 2020
b2d5100
add the tan() function
Rytaryu Apr 13, 2020
61fc39a
fix the functions, sin() and cos()
Rytaryu Apr 14, 2020
2caa96f
fix float_lte
Rytaryu Apr 14, 2020
d812e0f
add the functions, asin() and acos()
Rytaryu Apr 14, 2020
27d59b9
add the atan() function
Rytaryu Apr 14, 2020
73fdb1d
fix the functions. sin() and cos()
Rytaryu Apr 14, 2020
e9c7976
fix the functions, sin() and cos()
Rytaryu Apr 14, 2020
2723ea3
add the fabs() function
Rytaryu Apr 14, 2020
72f9e60
fix the fabs() function
Rytaryu Apr 14, 2020
64c1e8c
fix the functions, sin() and cos()
Rytaryu Apr 14, 2020
5ad0e05
fix the asin() function
Rytaryu Apr 14, 2020
b7f47c3
add the functions, ceil() and floor()
Rytaryu Apr 15, 2020
88bd3a4
add the ldexp() function
Rytaryu Apr 15, 2020
f7a0904
Merge branch 'master' into rytaryu
Rytaryu Apr 16, 2020
755eb50
remove the errors
Rytaryu Apr 16, 2020
474ce52
remove the errors
Rytaryu Apr 16, 2020
4ad4116
want to remove the error;;
Rytaryu Apr 16, 2020
3028781
change "fn" to "def"
Rytaryu Apr 16, 2020
06cdca3
fix the accuraacy of sin() and cos()
Rytaryu Apr 16, 2020
af371a7
add the log10() fuunction
Rytaryu Apr 16, 2020
f6fbbbb
add the functions, log() and log2()
Rytaryu Apr 16, 2020
18f79e6
add the logb() function
Rytaryu Apr 16, 2020
7bb7b10
add the round() function
Rytaryu Apr 16, 2020
ceffa93
add the exp() function
Rytaryu Apr 16, 2020
9d56bfc
fix the log10() function
Rytaryu Apr 16, 2020
1fdf503
fix the pow() function
Rytaryu Apr 16, 2020
bee6abe
fix the logb() function
Rytaryu Apr 17, 2020
e6e712e
fix the functions, ceil(), floor() and logb()
Rytaryu Apr 17, 2020
95d3bff
fix fabs(), ceil(), floor() and round()
Rytaryu Apr 17, 2020
d89d52f
change the name of constant values
Rytaryu Apr 17, 2020
8e5a21e
change the name of constant values
Rytaryu Apr 17, 2020
be002ff
add the exp2() function
Rytaryu Apr 17, 2020
b9d958b
fix the sqrt() function
Rytaryu Apr 17, 2020
ba5b85e
add the cbrt() function
Rytaryu Apr 17, 2020
4d857d1
add the functions, min() and max()
Rytaryu Apr 17, 2020
9fb1212
add the hypot() function
Rytaryu Apr 17, 2020
61483ed
fix the exp() function
Rytaryu Apr 17, 2020
d4f0429
add the sinh() function
Rytaryu Apr 17, 2020
1a07b70
add the cosh() function
Rytaryu Apr 17, 2020
77d6be6
add the tanh() function
Rytaryu Apr 17, 2020
92d7a49
add the asinh() function
Rytaryu Apr 17, 2020
bfb26ff
add the acosh() function
Rytaryu Apr 17, 2020
267ae23
add the functions, acosh() and atanh()
Rytaryu Apr 17, 2020
9a72030
add the atan2() function
Rytaryu Apr 18, 2020
8abad3f
add the trunc() function
Rytaryu Apr 25, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions include/object/floatobject.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,11 @@ typedef struct MxcFloat {
MxcValue float_eq(MxcValue, MxcValue);
MxcValue float_neq(MxcValue, MxcValue);
MxcValue float_lt(MxcValue, MxcValue);
MxcValue float_lte(MxcValue, MxcValue);
MxcValue float_gt(MxcValue, MxcValue);
MxcValue float_gte(MxcValue, MxcValue);
MxcValue float_div(MxcValue, MxcValue);
MxcValue float_mod(MxcValue, MxcValue);

#define FloatAdd(l, r) (mval_float((l).fnum + (r).fnum))
#define FloatSub(l, r) (mval_float((l).fnum - (r).fnum))
Expand Down
Loading