[D-runtime] [D-Programming-Language/druntime] 98813c: MSVC: Provide alternate implementations for 32-bit...
GitHub via D-runtime
d-runtime at puremagic.com
Wed Dec 2 13:10:00 PST 2015
Branch: refs/heads/master
Home: https://github.com/D-Programming-Language/druntime
Commit: 98813c7f01c61114c3ab50461c4e5f3a329a9651
https://github.com/D-Programming-Language/druntime/commit/98813c7f01c61114c3ab50461c4e5f3a329a9651
Author: Martin <noone at nowhere.com>
Date: 2015-12-01 (Tue, 01 Dec 2015)
Changed paths:
A src/rt/msvc.c
A src/rt/msvc_math.c
R src/rt/stdio_msvc.c
M win64.mak
Log Message:
-----------
MSVC: Provide alternate implementations for 32-bit math functions
The 32-bit x86 runtime lacks most single-precision math functions
(asinf(), acosf() etc.), i.e., they are only inline-declared in the
C headers (and use the double-precision version).
The available symbols apparently depend upon whether one's linking
against the static or dynamic MS runtime (libcmt.lib vs. msvcrt.lib),
and possibly upon the Visual Studio version too.
So provide alternate implementations here in druntime to prevent
linker errors. I came up with these 19 missing functions about a year
ago by inspecting the VS 2013 headers (these should be all inline-
declared ones, iirc).
Commit: 6f6ec7f4706b128bffaefe9145bec9581e2e7d39
https://github.com/D-Programming-Language/druntime/commit/6f6ec7f4706b128bffaefe9145bec9581e2e7d39
Author: Rainer Schuetze <r.sagitario at gmx.de>
Date: 2015-12-02 (Wed, 02 Dec 2015)
Changed paths:
A src/rt/msvc.c
A src/rt/msvc_math.c
R src/rt/stdio_msvc.c
M win64.mak
Log Message:
-----------
Merge pull request #1446 from kinke/msvcFloat
MSVC: Provide alternate implementations for 32-bit math functions
Compare: https://github.com/D-Programming-Language/druntime/compare/008bceb83de4...6f6ec7f4706b
More information about the D-runtime
mailing list