[ros-bugs] [Bug 6547] PATCH: calc: Add more unit types to the unit conversion
ReactOS.Bugzilla at reactos.org
ReactOS.Bugzilla at reactos.org
Tue Oct 11 17:34:44 UTC 2011
http://www.reactos.org/bugzilla/show_bug.cgi?id=6547
Carlo Bramix <carlo.bramix at libero.it> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |carlo.bramix at libero.it
--- Comment #5 from Carlo Bramix <carlo.bramix at libero.it> 2011-10-11 17:34:44 CET ---
Thank you very much for your efforts.
Unfortunately, many of the new unit conversions suffer of precision defects and
approximations.
For example, MOA (minute of arc) is 1/60 of one degree, you wrote 0.0166 that
is near to real value of 0.0166666...etc equal to 1/60:
DECLARE_CONV_UNIT(ANGLE, ARCMINUTES, "$*0.0166",
"$/0.0166")
but for correct result you have to write instead:
DECLARE_CONV_UNIT(ANGLE, ARCMINUTES, "$/60", "$*60")
If it's possible, please do not mix hardware tabs for identation.
--
Configure bugmail: http://www.reactos.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the Ros-bugs
mailing list