Skip to content

Not able to pass NAN value using select #4213

@BSYMAHESH

Description

@BSYMAHESH

I am trying to pass NAN value based upon some condition to func Vq but i am getting 20 instead of NAN.

Vq(x,y) = select(xq(x,y) < 20, NAN, Expr(1.0f));

But
Vq(x,y) = select(xq(x,y) < 20, 100, Expr(1.0f)); is working fine.

Can any one please explain me why this is happening? How can I pass NAN value based upon some condition

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions