(lhs, rhs vector.Any)
| 640 | } |
| 641 | |
| 642 | func compareEQFloatViewConst(lhs, rhs vector.Any) vector.Any { |
| 643 | ld := lhs.(*vector.View) |
| 644 | l := ld.Any.(*vector.Float) |
| 645 | lx := ld.Index |
| 646 | rconst := vector.FloatValue(rhs, 0) |
| 647 | n := lhs.Len() |
| 648 | out := vector.NewFalse(n) |
| 649 | for k := range n { |
| 650 | if l.Value(uint32(lx[k])) == rconst { |
| 651 | out.Set(k) |
| 652 | } |
| 653 | } |
| 654 | return out |
| 655 | } |
| 656 | |
| 657 | func compareEQFloatConstFlat(lhs, rhs vector.Any) vector.Any { |
| 658 | lconst := vector.FloatValue(lhs, 0) |
nothing calls this directly
no test coverage detected