New guy and programming problem
|
09-01-2018, 02:16 PM
Post: #28
|
|||
|
|||
RE: New guy and programming problem
(09-01-2018 12:23 PM)Thomas Klemm Wrote:(08-28-2017 06:13 PM)Dieter Wrote: On a 10-digit machine this already happens for 89,9995°...90,0005°. Another way, rearrange 1 - sin(x), so more accurate for x close to right angle. 1 - sin(x) = (1 - sin(x)) * (1 + sin(x)) / (1 + sin(x)) = cos(x)^2 / (1 + sin(x)) 1 - sin(89.9995°) ~ cos(89.9995°)^2 / 2 ~ 3.807717747e-11 |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)