sliced().array compatibility with parallel?
Jay Norwood via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sun Jan 10 08:03:29 PST 2016
On Sunday, 10 January 2016 at 12:11:39 UTC, Russel Winder wrote:
>> foreach( dv; dvp){
>> if(dv != dv){ // test for NaN
>> return 1;
>> }
>> }
>> return(0);
>> }
>
> I am not convinced these "Tests for NaN" actually test for NaN.
> I
> believe you have to use isNan(dv).
I saw it mentioned in another post, and tried it. Works.
More information about the Digitalmars-d-learn
mailing list