>which means the calling code is multiplying by a factor of pi just so the library code can immediately divide it back out again.
Mathematical philosophy aside, that's a pretty compelling argument from a practical perspective. You're doing two unnecessary relatively expensive (multiply/divide) operations in a process that's supposed to be fast.