title: Apfloat calculating trigonometric function wrong result
body: <p>I am C# developer and I have UWP app which can precisely calculate many math related problems using DecimalEx Nuget package. I recently started porting my app to Java and Android, and I use Apfloat as alternative (if there is better one please recommend me). I wrote a code to calculate trigonometry functions, but the result is 10 times greater than the actual. Here is the sample of my code:</p>
  
  <pre><code>            Apfloat degrees = new Apfloat(new BigDecimal(textbox1.getText().toString()), 20);
              Apfloat sin  = ApfloatMath.sin(degrees);
              Apfloat cos = ApfloatMath.cos(degrees);
              Apfloat tg = ApfloatMath.tan(degrees);
              Apfloat cotg = new Apfloat(1).divide(tg);
              Apfloat sec = new Apfloat(1).divide(cos);
              Apfloat csc = new Apfloat(1).divide(sin);
  </code></pre>
  
  <p>The precision is set to 20. Here's a screenshot comparing my C# output (which is accurate, on right) vs the Java output.</p>
  
  <p><a href="https://i.stack.imgur.com/Pve4m.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Pve4m.png" alt="enter image description here"></a></p>
  
  <p>Also I am unaware how to display the result without scientific notation.</p>
  
  <p>Thank you in advance. :)</p>