Post Reply 
sine of an angle in degree mode
01-29-2018, 06:58 AM
Post: #21
RE: sine of an angle in degree mode
Hello,

Well, since you guys want "precise" info, I had a look at the source code.

grad are converted to deg if needed.

The calc has a flag (fix) which tells it if the result is a remarquable value (0° in all modes, n*30° or tan(45) in deg/grad).

This flag is also put on entry if 0 is detected.

The calc then does a modulo 45 or pi/2, depending, using 31 digits.
It then applies cordic, which yeild a x and y pair on the axis of the angle.
tan=y/x cos/sin are calculated from tan using 1/sqrt(1+tan()²).

Then, if the flag was set, the result is rounded.
and this is it.

Cheers,
Cyrille

Although I work for the HP calculator group, the views and opinions I post here are my own. I do not speak for HP.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
sine of an angle in degree mode - rflesch - 01-24-2018, 09:38 AM
RE: sine of an angle in degree mode - cyrille de brébisson - 01-29-2018 06:58 AM



User(s) browsing this thread: 1 Guest(s)