mirror of
https://github.com/sfall-team/sfall.git
synced 2026-07-27 16:52:34 -07:00
Edited function and sslc docs
This commit is contained in:
@@ -649,7 +649,9 @@
|
||||
If both arguments are integers, the result will be an integer.
|
||||
- name: floor2
|
||||
detail: int floor2(int/float value)
|
||||
doc: Works just like vanilla floor function, but returns correct integers for negative values (vanilla floor function works exactly the same as `ceil` for negative values, much like `trunc` in C/C++).
|
||||
doc: |
|
||||
Works just like vanilla floor function, but returns correct integers for negative floats.
|
||||
- __NOTE:__ vanilla `floor` function works exactly the same as `ceil` for negative floats (i.e. basically `trunc` in C/C++).
|
||||
macro: sfall.h
|
||||
- name: div
|
||||
detail: div(x, y)
|
||||
|
||||
Reference in New Issue
Block a user