Skip to content

irfft returns float64 for an input with dtype of float32 #176

@vtavana

Description

@vtavana
Collaborator

irfft returns float64 for an input with dtype of float32

import mkl_fft, numpy
a = numpy.ones(10, dtype="f4")

mkl_fft.irfft(a).dtype
# dtype('float64')

numpy.__version__
# '2.2.3'
numpy.fft.irfft(a).dtype
# dtype('float32')

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    Participants

    @vtavana

    Issue actions

      `irfft` returns `float64` for an input with dtype of `float32` · Issue #176 · IntelPython/mkl_fft