7 ms·
C's standard library is meant to be small and only include essential things. I remember the C99 standard being widely criticized for including support for compl
by copx 12y ago
C's standard library is meant to be small and only include essential things. I remember the C99 standard being widely criticized for including support for complex numbers, a feature considered to be special purpose and thus unfit for the C standard. The following C11 standard addressed this, making support for complex numbers "optional" i.e. a standard conforming C compiler is no longer required to support them.
C++ used to follow a similar mindset but this has changed. So we might see built-in fixed point support there in future.