issue with inf from exp function

Marc jckj33 at gmail.com
Wed Mar 7 16:18:57 UTC 2018


On Wednesday, 7 March 2018 at 16:12:28 UTC, Matt Gamble wrote:
> On Wednesday, 7 March 2018 at 16:10:15 UTC, Marc 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
>>
>> it works for me too.
>>
>> https://imgur.com/bLGTv1l
>
> Wow, Now I'm really confused, I'm using DMD v2.076.1. Any 
> thoughts I why I'm getting this result?

See my previous post. It's something related to generating 64bit 
code.



More information about the Digitalmars-d-learn mailing list