title: Small numbers in Objective C 2.0
body: <p>I created a calculator class that does basic +,-, %, * and sin, cos, tan, sqrt and other math functions.</p>
  
  <p>I have all the variables of type double, everything is working fine for big numbers, so I can calculate numbers like 1.35E122, but the problem is with extremely small numbers. For example if I do calculation 1/98556321 I get 0 where I would like to get something 1.01464E-8.</p>
  
  <p>Should I rewrite my code so that I only manipulate <code>NSDecimalNumber</code>'s and if so, what do I do with sin and cos math functions that accept only double and long double values.</p>