EDN Admin
Well-known member
First, I post this question to Visual C++ Language but it seems its OT there, so I repost it here as it relates to VC++ 8.0 libraries
Hi,
It may seem to be extremely trivial quesion, but I completely have no idea why I can not find round function in math.h?
I use VC++ 8.0 so I suppose it brings very up to date C/C++ librareries.
round function was added in C99:
http://www.dinkumware.com/manuals/reader.aspx?b=c/&h=math.html#round
http://www.gnu.org/software/libc/manual/html_mono/libc.html#Rounding%20Functions
Ive greped through CRT sources shipped with VC++ 8.0 and there is no such function.
Where can I find it?
Cheers
View the full article
Hi,
It may seem to be extremely trivial quesion, but I completely have no idea why I can not find round function in math.h?
I use VC++ 8.0 so I suppose it brings very up to date C/C++ librareries.
round function was added in C99:
http://www.dinkumware.com/manuals/reader.aspx?b=c/&h=math.html#round
http://www.gnu.org/software/libc/manual/html_mono/libc.html#Rounding%20Functions
Ive greped through CRT sources shipped with VC++ 8.0 and there is no such function.
Where can I find it?
Cheers
View the full article