Numerical is a bit tricky - you need to understand how many bits of accuracy are retained by your calculation which in turn requires you to understand what it is that you are modeling.
One approach, though [that often will work - not always, and it's interesting to think about the failure modes] is to perform the calculation twice, once using a higher precision version of the calculation, and recognizing when the lower precision variant starts losing accuracy by saying watching how it deviates from the higher precision variant (and stopping there). -- Raul On Wed, Feb 27, 2013 at 4:54 PM, km <[email protected]> wrote: > This may have been covered in another thread, but I invite you to write an > adverb lim such that > > sin =: 1&o. > (sin%])lim 0 > 1 > >. lim 0 > 1 > > -- that is, the limit is the limit from the right. > > Kip Murray > > > Sent from my iPad > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
