issue with inf from exp function

Matt Gamble gamblemj at gmail.com
Wed Mar 7 17:12:26 UTC 2018


On Wednesday, 7 March 2018 at 16:40:04 UTC, Steven Schveighoffer 
wrote:
> On 3/7/18 11:19 AM, Matt Gamble wrote:
>> 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:
>>>>> [...]
>>>>
>>>> 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?
>> 
>> Yes if I switch to 32bit, it works for me now. Is this a bug?
>
> Looks like it. The core.stdc.math module looks very cryptic, 
> but appears to do some weird things via exp on real.
>
> -Steve

Thanks. I submitted as a bug. 
https://issues.dlang.org/show_bug.cgi?id=18570


More information about the Digitalmars-d-learn mailing list