FIAS . Impressum . Privacy

logical operations

Kulakov, Igor [please enable javascript to see the address]
Mon Aug 12 23:04:00 CEST 2013


Hi All.


Operations like: 

ushort_m U;
sfloat_m F;
R =  U && F;

some times lead to incorrect result. So one needs to cast it explicitly:

R =  static_cast<sfloat_m>(U) && F;


But both codes compiles without an error. Is it possible to forbid first code on compiler level?


Regards,
Igor




More information about the Vc-devel mailing list
FIAS . Impressum . Privacy