(lhs, rhs vector.Any)
| 1805 | } |
| 1806 | |
| 1807 | func compareNEFloatViewConst(lhs, rhs vector.Any) vector.Any { |
| 1808 | ld := lhs.(*vector.View) |
| 1809 | l := ld.Any.(*vector.Float) |
| 1810 | lx := ld.Index |
| 1811 | rconst := vector.FloatValue(rhs, 0) |
| 1812 | n := lhs.Len() |
| 1813 | out := vector.NewFalse(n) |
| 1814 | for k := range n { |
| 1815 | if l.Value(uint32(lx[k])) != rconst { |
| 1816 | out.Set(k) |
| 1817 | } |
| 1818 | } |
| 1819 | return out |
| 1820 | } |
| 1821 | |
| 1822 | func compareNEFloatConstFlat(lhs, rhs vector.Any) vector.Any { |
| 1823 | lconst := vector.FloatValue(lhs, 0) |
nothing calls this directly
no test coverage detected