Skip to content

Clang is enforcing std::complex<> only accepting native floating-point types, find a solution #439

@Ravenwater

Description

@Ravenwater

First AppleClang and now regular Clang are enforcing that std::complex<> is undefined when the template parameters are not native floating-point types.

This will kill all complex<> use cases of Universal floating-point types, of which there are many:

  • cfloat
  • areal
  • dd
  • qd
  • efloat
  • posit
  • takum
  • lns
  • dbns
  • dfloat
  • fixpnt
  • deci

We need to find a solution to this problem that side-steps this std::complex<> library specification.

Metadata

Metadata

Type

No type

Projects

Status

Ready

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions