Description
The specs for fftfreq and rfftfreq say
"The returned array must have a real-valued floating-point data type determined by Type Promotion Rules."
But there is no type promotion here, since none of the input arguments are arrays. Presumably it should say that the return type should have the default real floating-point dtype.
But that also begs the question of whether these functions should have a dtype
argument like the other array creation functions.