]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add C11 macros CMPLX(), CMPLXF() and CMPLXL().
authorEd Schouten <ed@FreeBSD.org>
Sat, 25 May 2013 18:55:55 +0000 (18:55 +0000)
committerEd Schouten <ed@FreeBSD.org>
Sat, 25 May 2013 18:55:55 +0000 (18:55 +0000)
commite814330de14da51f4555e8b075913e3d29f8ead1
treec8bfcd898a80d02008fb3212e1917663c53c3079
parent5f4cd89cced01aec1f537bd3c8992e31ad399def
Add C11 macros CMPLX(), CMPLXF() and CMPLXL().

Clang allows us to initialize complex numbers using an array
initializer, casted to a complex type. GCC has a builtin called
__builtin_complex().
include/complex.h