ZERICO2005
ZERICO2005
I wanted to add some additional macros/constants to `sys/lcd.h`; such as being able to set RGB/BGR and Bits per pixel with `lcd_VideoMode = LCD_BGR565` using the lower 16bits of `lcd_Control`,...
`float nextafterf(float from, float to)` is incorrect, and seems to copy code from `remainderf`. nextafterf should mostly be a uint32_t increment/decrement apart from signed zeros, FLT_MAX, and infinity
Minimum precision: 21.415037 bits at both +4.251052856e+02 and +7.969426579e+17 for cbrtf. Precision is calculated as `log2(fabs( true_cbrt(x) - approx_cbrt(x) )) - ilogb(fabs( true_cbrt(x) ))` The previous method of `powf(x, 1.0f...
Added the `_fpclassifyf` function and the `fpclassify` macro along with its macro constants. Also added `_isnormalf` ```c #define FP_NORMAL 0x1 #define FP_ZERO 0x2 #define FP_SUBNORMAL (FP_NORMAL | FP_ZERO) /* 0x3...
`_fabsl _copysignl _truncl _floorl _ceill _roundl _nearbyintl _rintl _fmaxl _fminl _fmal` which take 64bit `long double` will link to `_fabs _copysign _trunc _floor _ceil _round _nearbyint _rint _fmax _fmin _fma`,...
`__bf16` is commonly implemented as a storage format, allowing for a 32bit float to be stored in 16bits. It has the same layout/format as `float`, but with the lower 16...
```c++ typedef struct gfy_sprite_t { uint8_t width; /**< Width of the image. */ uint8_t height; /**< Height of the image. */ uint8_t data[]; /**< Image data array. */ } gfy_sprite_t;...
Currently, nanoprintf casts `long double` or `%Lf` arguments to `double`. It would be good to have an option so `float` and `double` could be promoted to `long double` instead. Especially...
I noticed that `` I/O operations don't set `errno`. I suppose it might not be applicable in all cases since many `` functions just wrap TiOS/fileioc functions.
Non-transparent sprite rotation was further optimized by a good amount. Optimized the clipping function for `gfx_Sprite`, `gfx_TransparentSprite`. Sprite flip/rotate90/rotate180 routines were optimized. Other routines were also optimized, mainly in ways...