Floating point values in structs.

Dave P. dave287091 at gmail.com
Fri Dec 18 17:38:52 UTC 2020


On Friday, 18 December 2020 at 16:23:20 UTC, Adam D. Ruppe wrote:
> On Friday, 18 December 2020 at 16:18:12 UTC, Dave P. wrote:
>> Is the proper solution to change the struct definition to:
>
> yeah that's the best option right now

A bit of a pain when porting, but alright.

>
>> I find the setting floats to nan pretty bizarre.
>
> yeah i wrote about it here not long ago 
> http://dpldocs.info/this-week-in-d/Blog.Posted_2020_11_23.html#looking-back
>
> [...]

I agree.

Thanks!


More information about the Digitalmars-d-learn mailing list