On Sat, Sep 4, 2021 at 2:03 AM Kshitij Kalambarkar
wrote:
>
> Hi,
>
> np.trunc returns floating dtype output even for integral dtype input. As per
> array-api, it should preserve the input dtype.
>
> Note: This is also true for np.rint, np.fix, np.ceil, np.floor
Probably worth noting that np.rou
On Sun, 2021-09-05 at 21:08 +0200, Ralf Gommers wrote:
> On Sat, Sep 4, 2021 at 10:02 AM Kshitij Kalambarkar <
> kshitijkalambar...@gmail.com> wrote:
>
> > Hi,
> >
> > np.trunc returns floating dtype output even for integral dtype
> > input. As
> > per array-api, it should preserve the input dtyp