Skip to content

Proposal: Rename Complex{32,64} to ComplexF{32,64} #77

@eduardosm

Description

@eduardosm

This proposal would involves breaking changes and it is also a bit of personal opinion, so feel free to close it.

The names Complex32 or Complex64 may be confusing for some users, because it might mean "a complex of 32/64 bits in total" or "a complex formed by two 32/64 bit floats".

For example, numpy has complex64 (2 x 32) and complex128 (2 x 64). Pre-1.0 Julia also had Complex64 and Complex128.

In Julia 1.0 they decided to take the approach of using ComplexF32 and ComplexF64, which, in my opinion, it specifies more clearly "a complex formed by two 32/64 bit floats". This naming also has the advantage of remarking that they use float as number format.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions