SDL/src/stdlib
nmlgc f39e49a3dd SDL_mslibc: Implement _ftoul2_legacy()
cl.exe versions ≥v19.41 call this builtin for double → uint64_t
conversions on x86. SDL currently needs such conversions in:

* MainCallbackRateHintChanged()
* SDL_PrintFloat()
* WIN_ApplyWindowProgress()

This seems enough to justify implementing this function rather than
trying to work around it, as it was done in sdl12-compat:

	https://github.com/libsdl-org/sdl12-compat/issues/352

This implementation was taken from ReactOS:

	https://git.reactos.org/?p=reactos.git;a=commitdiff;h=f637e6b809adb5e0ae420ef4f80c73b19172a2e7

Passes the stdlib testautomation, and also matches the behavior of
Microsoft's 64-bit libc for the currently implementation-defined case
of calling SDL_PrintFloat() with values >SDL_MAX_UINT64.
2025-10-03 07:21:20 -07:00
..
SDL_casefolding.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_crc16.c Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_crc32.c Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_getenv.c Use new parameter validation macro 2025-09-18 20:58:32 -07:00
SDL_getenv_c.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_iconv.c Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_malloc.c Use new parameter validation macro 2025-09-18 20:58:32 -07:00
SDL_memcpy.c Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_memmove.c Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_memset.c Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_mslibc.c SDL_mslibc: Implement _ftoul2_legacy() 2025-10-03 07:21:20 -07:00
SDL_mslibc_arm64.masm Implement __chkstk for arm64 2025-01-02 01:15:28 +01:00
SDL_mslibc_x64.masm
SDL_murmur3.c Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_qsort.c Formatting spaces around pointer symbol. 2025-02-03 17:03:26 -08:00
SDL_random.c Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_stdlib.c remove watcom compiler support from private sources 2025-09-20 03:47:02 +03:00
SDL_string.c remove watcom compiler support from private sources 2025-09-20 03:47:02 +03:00
SDL_strtokr.c Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_sysstdlib.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_vacopy.h Restore support for the Nokia N-Gage (#12148) 2025-05-22 11:07:22 -07:00