AssertionError: out=0.0, but should be -0 [sin()]
>>> import numpy as np
>>> a = np.array([0.0, -0.0])
>>> np.sin(a)
array([ 0., -0.])
>>> import cubed as xp
>>> b = xp.asarray(a)
>>> xp.sin(b).compute()
array([0., 0.])
>>> import numpy as np
>>> a = np.array([0.0, -0.0])
>>> np.sin(a)
array([ 0., -0.])
>>> import cubed as xp
>>> b = xp.asarray(a)
>>> xp.sin(b).compute()
array([ 0., -0.])
This was picked up in the array API tests: https://github.com/cubed-dev/cubed/actions/runs/15697743690/job/44226032553
Reproducer:
With Zarr 2 it works: