mirror of
https://github.com/janet-lang/janet
synced 2026-10-09 09:11:40 +00:00
Remove more extra function stubs from float checking.
This commit is contained in:
@@ -927,13 +927,6 @@ int janet_checkuint8(Janet x) {
|
||||
return janet_checkuint8range(dval);
|
||||
}
|
||||
|
||||
int janet_checkfloat(Janet x) {
|
||||
if (!janet_checktype(x, JANET_NUMBER))
|
||||
return 0;
|
||||
double dval = janet_unwrap_number(x);
|
||||
return janet_checkfloatrange(dval);
|
||||
}
|
||||
|
||||
int janet_checksize(Janet x) {
|
||||
if (!janet_checktype(x, JANET_NUMBER))
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user