Adding a float with all four elements of a float4

Straivers via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Apr 20 19:11:23 PDT 2016


On Thursday, 21 April 2016 at 01:49:19 UTC, Nicholas Wilson wrote:
>>> [...]
>>
>> you want to broadcast the rhs to a float4 and then adds them. 
>> Can you post the errors (if any) you get during compilation.
>
> Urgh, autocorrect. That should be addps them.

I get a "Error: floating point constant expression expected 
instead of rhs"


More information about the Digitalmars-d-learn mailing list