every time i make my own rounding routine with precision, i see my compiler suggesting a function long double round(long double x, int precision); so i was wondering if someone knows what library it comes from, i surely wasn't able to find it... thanks
gregorynoob 2 Junior Poster in Training
Recommended Answers
Jump to Post>I vaguely remember that there's a round() function in there somewhere.
C99 added a bunch of stuff, including a round function. However, the signature doesn't match what the OP is talking about, so I'd guess it's a compiler extension.>i was wondering if someone knows what library it comes …
All 4 Replies
Nick Evan 4,005 Industrious Poster Team Colleague Featured Poster
gregorynoob 2 Junior Poster in Training
Narue 5,707 Bad Cop Team Colleague
ArkM 1,090 Postaholic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.