<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/include/complex.h, branch release/10.1.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F10.1.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F10.1.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2013-05-30T04:49:26Z</updated>
<entry>
<title>I'm happy to finally commit stephen@'s implementations of cacos,</title>
<updated>2013-05-30T04:49:26Z</updated>
<author>
<name>David Schultz</name>
<email>das@FreeBSD.org</email>
</author>
<published>2013-05-30T04:49:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=e4afa19c33cea91d3fad8bd97b7666002f0d3baa'/>
<id>urn:sha1:e4afa19c33cea91d3fad8bd97b7666002f0d3baa</id>
<content type='text'>
cacosh, casin, casinh, catan, and catanh. Thanks to stephen@ and bde@
for working on these.

Submitted by:	stephen@
Reviewed by:	bde
</content>
</entry>
<entry>
<title>Add C11 macros CMPLX(), CMPLXF() and CMPLXL().</title>
<updated>2013-05-25T18:55:55Z</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2013-05-25T18:55:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=e814330de14da51f4555e8b075913e3d29f8ead1'/>
<id>urn:sha1:e814330de14da51f4555e8b075913e3d29f8ead1</id>
<content type='text'>
Clang allows us to initialize complex numbers using an array
initializer, casted to a complex type. GCC has a builtin called
__builtin_complex().
</content>
</entry>
<entry>
<title>Only use the static assertion when __generic is available.</title>
<updated>2012-01-17T20:22:10Z</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2012-01-17T20:22:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=76f11d88aa33b0a3e28d066a5dc0dd6890aa9a6f'/>
<id>urn:sha1:76f11d88aa33b0a3e28d066a5dc0dd6890aa9a6f</id>
<content type='text'>
Reported by:	tijl
</content>
</entry>
<entry>
<title>Remove redundant inclusion of &lt;sys/cdefs.h&gt;.</title>
<updated>2012-01-05T12:09:39Z</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2012-01-05T12:09:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=ff3e248a9061bd02656490815d1a3309de263368'/>
<id>urn:sha1:ff3e248a9061bd02656490815d1a3309de263368</id>
<content type='text'>
Mea culpa.
</content>
</entry>
<entry>
<title>Make _Complex_I a proper float _Complex when using GCC 4.2.</title>
<updated>2012-01-05T12:05:48Z</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2012-01-05T12:05:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=f92d9d7d375049753865aa2a50428162f23c4a44'/>
<id>urn:sha1:f92d9d7d375049753865aa2a50428162f23c4a44</id>
<content type='text'>
It turns out our GCC has quite an interesting bug:

	typeof(1.0fi) != float _Complex
	typeof((float _Complex)1.0fi) != float _Complex
	typeof((float _Complex)1.0i) == float _Complex

In other words: if casting to an equal size, GCC seems to take a
shortcut. By casting down from a double to a float, GCC doesn't take
this shortcut, yielding the proper type.

To prevent foot-shooting, add a _Static_assert() to guarantee that
_Complex_I is always a float _Complex. I'm not going to MFC this part of
the diff.

MFC after:	2 weeks
</content>
</entry>
<entry>
<title>Add c{cos,sin,tan}{,h}{,f} functions.  This is joint work with</title>
<updated>2011-10-17T05:41:03Z</updated>
<author>
<name>David Schultz</name>
<email>das@FreeBSD.org</email>
</author>
<published>2011-10-17T05:41:03Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=3daee1d6c3783e32a226d145f85a887007f5754b'/>
<id>urn:sha1:3daee1d6c3783e32a226d145f85a887007f5754b</id>
<content type='text'>
bde and kargl.
</content>
</entry>
<entry>
<title>Add missing declarations that I intended to commit with r219359.</title>
<updated>2011-03-07T16:05:45Z</updated>
<author>
<name>David Schultz</name>
<email>das@FreeBSD.org</email>
</author>
<published>2011-03-07T16:05:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=cf3943e4d56ca26f5d3688f45eb3e5a84329b567'/>
<id>urn:sha1:cf3943e4d56ca26f5d3688f45eb3e5a84329b567</id>
<content type='text'>
Not sure why we have math.h in lib/msun/ and complex.h in include/.
</content>
</entry>
<entry>
<title>Implement cproj{,f,l}().</title>
<updated>2008-08-07T15:07:48Z</updated>
<author>
<name>David Schultz</name>
<email>das@FreeBSD.org</email>
</author>
<published>2008-08-07T15:07:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=5e9470f1d5a7c0f81150453fbbe1ab25c4717a67'/>
<id>urn:sha1:5e9470f1d5a7c0f81150453fbbe1ab25c4717a67</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Annotate creal(), cimag(), and conj() with __pure2.</title>
<updated>2008-08-07T14:40:52Z</updated>
<author>
<name>David Schultz</name>
<email>das@FreeBSD.org</email>
</author>
<published>2008-08-07T14:40:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=bda750b404a1ee2abfe527c8e087464f4e726527'/>
<id>urn:sha1:bda750b404a1ee2abfe527c8e087464f4e726527</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Implement csqrtl().</title>
<updated>2008-03-30T20:07:15Z</updated>
<author>
<name>David Schultz</name>
<email>das@FreeBSD.org</email>
</author>
<published>2008-03-30T20:07:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=511dd36b32685f7200c2614f354b5addf5970c37'/>
<id>urn:sha1:511dd36b32685f7200c2614f354b5addf5970c37</id>
<content type='text'>
</content>
</entry>
</feed>
