mirror of
https://github.com/bitwiseworks/gcc-os2.git
synced 2026-04-26 16:00:12 +00:00
round() lround() #19
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @SilvanScherrer on GitHub (Jan 29, 2020).
Originally assigned to: @dmik on GitHub.
round() and lround() are not members of std namespace. I faced some ports which want them in the std namespace. So I guess (nope I didn't a research) it's wrong.
@dmik commented on GitHub (Mar 16, 2020):
Note that there is an old ticket, which I'm closing in favor of this one: https://github.com/psmedley/gcc/issues/34. It, however, contains useful information which should be carefully inspected while doing this task.
@dmik commented on GitHub (Mar 16, 2020):
_GLIBCXX_USE_C99_MATH_TR1 is not defined in
c++config.hbecause the following configure test:fails as follows:
@dmik commented on GitHub (Mar 16, 2020):
As with other C stuff, these functions are in the ISO standard since long, see e.g. https://pubs.opengroup.org/onlinepubs/009695399/functions/log2.html. On OS/2 they are still a GNU C extension.
I will take updates from FreeBSD, as usual: https://github.com/freebsd/freebsd/blob/master/lib/msun/src/math.h