The answer to Cos(1.57079632) (in radians) will give you a clue as to how your calculator does it.
See here [0]
[0] https://www.reddit.com/r/calculators/comments/126st95/cos157...
See here [0]
[0] https://www.reddit.com/r/calculators/comments/126st95/cos157...
Using HiPER Calc on Android
See here: https://www.hpmuseum.org/cgi-sys/cgiwrap/hpmuseum/archv017.c...
And you can compare to wolfram alphas result.