I don't know the guts of MacOS, but on machines I have worked on as a 
developer, there are often several flavors of "math library," some specific to 
computer languages, others to execution environments. I wouldn't have any 
problem believing that C code uses a different set of libraries from what the 
MacOS itself uses. And this entire kerfuffle smells like a library 
incompatibility between releases.

Eight. Keeryst.

> On Jan 9, 2020, at 2:30 PM, Carl Hoefs <[email protected]> wrote:
> 
> 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 <[email protected] 
>> <mailto:[email protected]>> 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 <[email protected] 
>>> <mailto:[email protected]>> 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 <[email protected] 
>>>> <mailto:[email protected]>> wrote:
>>>> 
>>>> Just tried that. Still “not a number” answer.
>>>> 
>>>> 
>>>> -Andy
>>>> 
>>>> 
>>>>> On Jan 9, 2020, at 12:36 PM, Carl Hoefs <[email protected] 
>>>>> <mailto:[email protected]>> 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 
>>>>>> <[email protected] 
>>>>>> <mailto:[email protected]>> wrote:
>>>>>> 
>>>>>>> On Jan 9, 2020, at 11:59, Dinse, Gregg (NIH/NIEHS) [C] 
>>>>>>> <[email protected] <mailto:[email protected]>> 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
>>> [email protected] <mailto:[email protected]>
>>> https://www.omnigroup.com/mailman/listinfo/macosx-talk 
>>> <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/>
> 

-- 
  Macs R We -- Personal Macintosh Service and Support
    in the Wickenburg and far Northwest Valley Areas.
                            http://macsrwe.com

_______________________________________________
MacOSX-talk mailing list
[email protected]
https://www.omnigroup.com/mailman/listinfo/macosx-talk

Reply via email to