I can't get the NaN result from C code running on Mojave using the various 
exp() function calls.

> expf: 0.367879
> exp:  0.3678794411714423
> expl: 0.3678794411714423216101625679907982657823595218360424041748046875

I remember that once upon a time the source code for Calculator.app was 
available so you could modify it. It would be very telling to see how they're 
calling exp()!

-Carl


> On Jan 9, 2020, at 1:25 PM, Macs R We <macs...@macsrwe.com> wrote:
> 
> Huh. I did the same experiment — copied Calculator from my Sierra Mini to my 
> Mojave Mini and ran the sequence. As you did, I got Not a number, same as the 
> native Calculator.
> 
> Then I did it again, copying it to my High Sierra MBP.
> 
> I got "8".   😱
> 
> No fooling. I've done it a half dozen times using different sequences of 
> keystrokes (voodoo, to be sure, but one should make the trial).
> 
> Something is clearly rancid here.
> 
> All the responses I got back from AMUG were consistent: "Not a Number" on HS 
> or M, the correct number everywhere else.
> 
> 
> 
>> On Jan 9, 2020, at 1:02 PM, Carl Hoefs <newsli...@autonomy.caltech.edu 
>> <mailto:newsli...@autonomy.caltech.edu>> wrote:
>> 
>> Wow, that would seem to indicate that a macOS system RTL or framework has a 
>> huge bug! 
>> 
>> -Carl
>> 
>> 
>>> On Jan 9, 2020, at 12:53 PM, Andy Ringsmuth <a...@andyring.com 
>>> <mailto:a...@andyring.com>> wrote:
>>> 
>>> Just tried that. Still “not a number” answer.
>>> 
>>> 
>>> -Andy
>>> 
>>> 
>>>> On Jan 9, 2020, at 12:36 PM, Carl Hoefs <newsli...@autonomy.caltech.edu 
>>>> <mailto:newsli...@autonomy.caltech.edu>> wrote:
>>>> 
>>>> An interesting test would be to take the Calculator.app from Sierra and 
>>>> run it on Mojave.
>>>> 
>>>> -Carl
>>>> 
>>>> 
>>>>> On Jan 9, 2020, at 12:32 AM, Jean-Christophe Helary 
>>>>> <jean.christophe.hel...@traduction-libre.org 
>>>>> <mailto:jean.christophe.hel...@traduction-libre.org>> wrote:
>>>>> 
>>>>>> On Jan 9, 2020, at 11:59, Dinse, Gregg (NIH/NIEHS) [C] 
>>>>>> <di...@niehs.nih.gov <mailto:di...@niehs.nih.gov>> wrote:
>>>>>> 
>>>>>> A friend just told me that it works on his Catalina mac, so perhaps they 
>>>>>> fixed it in the latest OS.  I do not have any Catalina machines, so I 
>>>>>> can't check that.
>>>>> 
>>>>> Catalina here and both input work.
>>>>> 
>>>>> Jean-Christophe Helary
>>>>> -----------------------------------------------
>>>>> http://mac4translators.blogspot.com 
>>>>> <http://mac4translators.blogspot.com/> @brandelune
>> 
>> _______________________________________________
>> MacOSX-talk mailing list
>> MacOSX-talk@omnigroup.com <mailto:MacOSX-talk@omnigroup.com>
>> https://www.omnigroup.com/mailman/listinfo/macosx-talk
> 
> -- 
>   Macs R We -- Personal Macintosh Service and Support
>     in the Wickenburg and far Northwest Valley Areas.
>                             http://macsrwe.com <http://macsrwe.com/>

_______________________________________________
MacOSX-talk mailing list
MacOSX-talk@omnigroup.com
https://www.omnigroup.com/mailman/listinfo/macosx-talk

Reply via email to