# Function arrow::compute::kernels::comparison::neq_scalar

source ยท ```
pub fn neq_scalar<T>(
left: &PrimitiveArray<T>,
right: <T as ArrowPrimitiveType>::Native,
) -> Result<BooleanArray, ArrowError>
```

๐Deprecated: Use arrow_ord::cmp::neq

## Expand description

Perform `left != right`

operation on a `PrimitiveArray`

and a scalar value.

For floating values like f32 and f64, this comparison produces an ordering in accordance to
the totalOrder predicate as defined in the IEEE 754 (2008 revision) floating point standard.
Note that totalOrder treats positive and negative zeros are different. If it is necessary
to treat them as equal, please normalize zeros before calling this kernel.
Please refer to `f32::total_cmp`

and `f64::total_cmp`

.