issue with inf from exp function

Marc jckj33 at gmail.com
Wed Mar 7 16:12:26 UTC 2018


On Wednesday, 7 March 2018 at 16:06:26 UTC, Matt Gamble wrote:
> On Wednesday, 7 March 2018 at 16:00:39 UTC, Alex wrote:
>> On Wednesday, 7 March 2018 at 15:44:28 UTC, Matt Gamble wrote:
>>> [...]
>>
>> works for me as expected.
>>
>> ln(largest double) = 709.783
>> e^710 = inf
>> ln(largest real) = 11356.5
>> e^710 = 2.23399e+308
>
> Really? Is it my system?
> I'm running windows 10, with an intel Core i7-4650, 64bit 
> operating system
> I compiled with -m64 -g -unittest -main

Did notice you were using -m64 flag before. Well, now I used -m64 
the same code doesn't work as expected. I also got inf.


More information about the Digitalmars-d-learn mailing list