> On 4/27/11 at 5:39 AM, firstname.lastname@example.org (Rafael Dunn) > wrote: > >>In:= >>N[Sin[Exp]] >>N[Sin[Exp], 1] >>N[Sin[Exp], 11] > >>Out:= >>-0.999105 >>0.1 >>0.14219812366 > >>I realize that N[exp] = N[exp, MachinePrecision]. This indicates >>when N is asked to calculate to MachinePrecision, > > More specifically, this asks hardware to do the required computation. > >>it produces an incorrect result in this example. > > That is due to the limitations of floating point arithmetic as > implemented in hardware. The actual result you get will vary > according to what hardware is being used.
To emphasize that this is the result from hardware here is a program in the C programming language: