Home
last modified time | relevance | path

Searched refs:FPMIN_BUF_SIZE (Results 1 – 1 of 1) sorted by relevance

/AliOS-Things-master/components/py_engine/engine/py/
A Dformatfloat.c61 #define FPMIN_BUF_SIZE 6 // +9e+99 macro
92 #define FPMIN_BUF_SIZE 7 // +9e+199 macro
118 if (buf_size <= FPMIN_BUF_SIZE) { in mp_format_float()
253 if (prec > (buf_remaining - FPMIN_BUF_SIZE)) { in mp_format_float()
254 prec = buf_remaining - FPMIN_BUF_SIZE; in mp_format_float()
291 if (fmt == 'e' && prec > (buf_remaining - FPMIN_BUF_SIZE)) { in mp_format_float()
292 prec = buf_remaining - FPMIN_BUF_SIZE; in mp_format_float()
296 if (prec + (FPMIN_BUF_SIZE - 1) > buf_remaining) { in mp_format_float()
297 prec = buf_remaining - (FPMIN_BUF_SIZE - 1); in mp_format_float()
424 if (FPMIN_BUF_SIZE == 7 && e >= 100) { in mp_format_float()

Completed in 3 milliseconds