stmhal: Add fake implementation of __aeabi_f2lz().
To make mp_obj_new_int_from_float() somehow work.
This commit is contained in:
parent
5f68094e10
commit
8a2cc1c7e4
@ -49,6 +49,11 @@ double __attribute__((pcs("aapcs"))) __aeabi_i2d(int32_t x) {
|
|||||||
return (float)x;
|
return (float)x;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO
|
||||||
|
long long __attribute__((pcs("aapcs"))) __aeabi_f2lz(float x) {
|
||||||
|
return (long)x;
|
||||||
|
}
|
||||||
|
|
||||||
double __attribute__((pcs("aapcs"))) __aeabi_f2d(float x) {
|
double __attribute__((pcs("aapcs"))) __aeabi_f2d(float x) {
|
||||||
float_s_t fx={0};
|
float_s_t fx={0};
|
||||||
double_s_t dx={0};
|
double_s_t dx={0};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user