Skip to content

Sanity check: Transform results are always 64-bit floats #1484

Answered by snowman2
djhoese asked this question in Q&A
Discussion options

You must be logged in to vote

It is a double internally, so returning float64 gives you the same information that was calculated by PROJ.

Probably opening a can of worms to try to return the same dtype as the precision isn't dependent on the input array dtype.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@djhoese
Comment options

djhoese Mar 21, 2025
Maintainer Author

Answer selected by djhoese
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants