ViewVC Help
View File
|
Revision Log
|
Show Annotations
|
Root Listing
root
/
cvsroot
/
UserCode
/
FGolf
/
tcmet
/
scripts
/
fround.C
Revision:
1.1
Committed:
Fri Jan 22 09:58:14 2010 UTC
(15 years, 3 months ago) by
benhoob
Content type:
text/plain
Branch:
MAIN
CVS Tags:
HEAD
Error occurred while calculating annotation data.
Log Message:
*** empty log message ***
File Contents
#
Content
1
inline double fround(double n, unsigned d)
2
{
3
return floor(n * pow(10., d) + .5) / pow(10., d);
4
}