Bug 4862 – modfl() missing for FreeBSD

Status
RESOLVED
Resolution
WONTFIX
Severity
normal
Priority
P2
Component
druntime
Product
D
Version
D2
Platform
x86
OS
FreeBSD
Creation time
2010-09-13T15:11:00Z
Last change time
2012-10-10T08:52:36Z
Assigned to
sean
Creator
bugs-puremagic

Attachments

IDFilenameSummaryContent-TypeSize
755dmd.2.048-druntime-modfl.patchadd back modfl() for FreeBSDtext/plain576
8800001-Reactivate-long-double-math-functions-for-FreeBSD-as.patchgit format-patchapplication/octet-stream730

Comments

Comment #0 by bugs-puremagic — 2010-09-13T15:11:36Z
Created attachment 755 add back modfl() for FreeBSD adding it back as in the attached patch _seems_ to work according to quick tests (was the problem that real * i.e. long double * wasn't working properly for C bindings in earlier versions and the FreeBSD bindings just hadn't been updated yet?)
Comment #1 by code — 2011-01-25T12:16:44Z
Created attachment 880 git format-patch Currently long math functions are forwarded to their double counterparts per default as FreeBSD < 8.0-Release didn't seem to define them in it's libm. As 8.0-Release is out since Nov 2009 I propose to make this optional instead of the default behavior.
Comment #2 by alex — 2012-10-09T18:47:40Z
Is this still an issue? And if so, what do we need to do about it?
Comment #3 by bugs-puremagic — 2012-10-10T08:51:40Z
This probably can be left as it is now as it only affects FreeBSD 7.x which now is a legacy legacy branch that the lang/dmd2 port also doesn't support anymore.
Comment #4 by alex — 2012-10-10T08:52:36Z
OK, closing this then.