Skip to content

build against VC runtime: move ld_sprint to port.d#5010

Merged
yebblies merged 2 commits intodlang:masterfrom
rainers:port_ld_sprint
Sep 18, 2015
Merged

build against VC runtime: move ld_sprint to port.d#5010
yebblies merged 2 commits intodlang:masterfrom
rainers:port_ld_sprint

Conversation

@rainers
Copy link
Member

@rainers rainers commented Sep 1, 2015

We might also want to replace the ldouble template with constructor call for real_t so it is easier to map it to another type if the host real type doesn't match the target.

This might make longdouble.d obsolete.

@ibuclaw
Copy link
Member

ibuclaw commented Sep 3, 2015

May still be relevant in gdc, time will tell. I am not enthusiastic about the use of native floats that I keep seeing in these kinds of PRs.

@rainers
Copy link
Member Author

rainers commented Sep 4, 2015

I have added the implementation of strtod/f from the C version that sets ERANGE for overflows and underflows.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does anybody know what these additional bytes are supposed to do? Just padding?

@rainers
Copy link
Member Author

rainers commented Sep 18, 2015

rebased and conflicts resolved.

@yebblies
Copy link
Contributor

Auto-merge toggled on

yebblies added a commit that referenced this pull request Sep 18, 2015
build against VC runtime: move ld_sprint to port.d
@yebblies yebblies merged commit 8d63fce into dlang:master Sep 18, 2015
@rainers
Copy link
Member Author

rainers commented Sep 19, 2015

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants