History log of /freebsd-13.1/include/complex.h (Results 1 – 25 of 27)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release/12.4.0, release/13.1.0, release/12.3.0
# 4ac2d431 05-Nov-2021 Steve Kargl <[email protected]>

Implementations of cexpl()

PR: 216862

(cherry picked from commit 046e2d5db1e8afd2d09ea28e5d2a7550535d4b77)


Revision tags: release/13.0.0, release/12.2.0, release/11.4.0, release/12.1.0
# 11478453 20-Aug-2019 Dimitry Andric <[email protected]>

Vendor import of stripped libc++ trunk r366426 (just before the release_90 branch
point):

https://llvm.org/svn/llvm-project/libcxx/trunk@366426


Revision tags: release/11.3.0, release/12.0.0
# 6813d08f 15-Jul-2018 Matt Macy <[email protected]>

msun: add ld80/ld128 powl, cpow, cpowf, cpowl from openbsd

This corresponds to the latest status (hasn't changed in 9+
years) from openbsd of ld80/ld128 powl, and source cpowf, cpow,
cpowl (the comp

msun: add ld80/ld128 powl, cpow, cpowf, cpowl from openbsd

This corresponds to the latest status (hasn't changed in 9+
years) from openbsd of ld80/ld128 powl, and source cpowf, cpow,
cpowl (the complex power functions for float complex, double
complex, and long double complex) which are required for C99
compliance and were missing from FreeBSD. Also required for
some numerical codes using complex numbered Hamiltonians.

Thanks to jhb for tracking down the issue with making
weak_reference compile on powerpc.

When asked to review, bde said "I don't like it" - but
provided no actionable feedback or superior implementations.

Discussed with: jhb
Submitted by: jmd
Differential Revision: https://reviews.freebsd.org/D15919

show more ...


Revision tags: release/11.2.0
# 0c0288a2 13-May-2018 Konstantin Belousov <[email protected]>

Add implementations for clog(3), clogf(3), and clog(3).

PR: 216863
Submitted by: bde, Steven G. Kargl <[email protected]>
MFC after: 2 weeks


# e58eb3c4 25-Nov-2017 Pedro F. Giffuni <[email protected]>

include: General further adoption of SPDX licensing ID tags.

Mainly focus on files that use BSD 2-Clause license, however the tool I
was using mis-identified many licenses so this was mostly a manua

include: General further adoption of SPDX licensing ID tags.

Mainly focus on files that use BSD 2-Clause license, however the tool I
was using mis-identified many licenses so this was mostly a manual - error
prone - task.

The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.

show more ...


Revision tags: release/10.4.0, release/11.1.0
# 507c3d47 18-Feb-2017 Mahdi Mokhtari <[email protected]>

Add new catrigl.c (r313761) APIs to include/complex.h

Reviewed by: bde, emaste
Approved by: bde, emaste (src committers)
Differential Revision: https://reviews.freebsd.org/D9615


Revision tags: release/11.0.1, release/11.0.0, release/10.3.0
# b4c64ad9 30-Dec-2015 Dimitry Andric <[email protected]>

Vendor import of libc++ trunk r256633:
https://llvm.org/svn/llvm-project/libcxx/trunk@256633


Revision tags: release/10.2.0, release/10.1.0, release/9.3.0, release/10.0.0, release/9.2.0, release/8.4.0
# e4afa19c 30-May-2013 David Schultz <[email protected]>

I'm happy to finally commit stephen@'s implementations of cacos,
cacosh, casin, casinh, catan, and catanh. Thanks to stephen@ and bde@
for working on these.

Submitted by: stephen@
Reviewed by: bde


# e814330d 25-May-2013 Ed Schouten <[email protected]>

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().


Revision tags: release/9.1.0, release/8.3.0_cvs, release/8.3.0
# 76f11d88 17-Jan-2012 Ed Schouten <[email protected]>

Only use the static assertion when __generic is available.

Reported by: tijl


# ff3e248a 05-Jan-2012 Ed Schouten <[email protected]>

Remove redundant inclusion of <sys/cdefs.h>.

Mea culpa.


# f92d9d7d 05-Jan-2012 Ed Schouten <[email protected]>

Make _Complex_I a proper float _Complex when using GCC 4.2.

It turns out our GCC has quite an interesting bug:

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

Make _Complex_I a proper float _Complex when using GCC 4.2.

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

show more ...


Revision tags: release/9.0.0
# 1828c569 22-Nov-2011 David Chisnall <[email protected]>

Import libcxxrt / libc++ into a vendor branch.

Approved by: dim (mentor)


# 3daee1d6 17-Oct-2011 David Schultz <[email protected]>

Add c{cos,sin,tan}{,h}{,f} functions. This is joint work with
bde and kargl.


# cf3943e4 07-Mar-2011 David Schultz <[email protected]>

Add missing declarations that I intended to commit with r219359.
Not sure why we have math.h in lib/msun/ and complex.h in include/.


Revision tags: release/7.4.0_cvs, release/8.2.0_cvs, release/7.4.0, release/8.2.0, release/8.1.0_cvs, release/8.1.0, release/7.3.0_cvs, release/7.3.0, release/8.0.0_cvs, release/8.0.0, release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0
# 5e9470f1 07-Aug-2008 David Schultz <[email protected]>

Implement cproj{,f,l}().


# bda750b4 07-Aug-2008 David Schultz <[email protected]>

Annotate creal(), cimag(), and conj() with __pure2.


# 511dd36b 30-Mar-2008 David Schultz <[email protected]>

Implement csqrtl().


# 84c1c0a1 30-Mar-2008 David Schultz <[email protected]>

Hook hypotl() and cabsl() up to the build.


Revision tags: release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0
# aaf70b23 15-Dec-2007 David Schultz <[email protected]>

Implement and document csqrt(3) and csqrtf(3).


# 205bd648 12-Dec-2007 David Schultz <[email protected]>

Implement carg(3) and cargf(3).

Rotting in an old src tree since: March 2005


Revision tags: release/6.2.0_cvs, release/6.2.0, release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0, release/6.0.0_cvs, release/6.0.0, release/5.4.0_cvs, release/5.4.0, release/4.11.0_cvs, release/4.11.0, release/5.3.0_cvs, release/5.3.0
# 4dfac645 14-Aug-2004 Stefan Farfeleder <[email protected]>

Stop defining '_Complex' in a C99 environment, it is supposed to be a keyword.


# 0edc8c86 14-Aug-2004 Stefan Farfeleder <[email protected]>

Use tabulators after '#define'.


# 8b5cd5a6 30-May-2004 Stefan Farfeleder <[email protected]>

Add implementations for cimag{,f,l}, creal{,f,l} and conj{,f,l}. They are
needed for cases where GCC's builtin functions cannot be used and for
compilers that don't know about them.

Approved by: da

Add implementations for cimag{,f,l}, creal{,f,l} and conj{,f,l}. They are
needed for cases where GCC's builtin functions cannot be used and for
compilers that don't know about them.

Approved by: das (mentor)

show more ...


# fe1737b6 30-May-2004 Stefan Farfeleder <[email protected]>

Remove the macros for creal{,f} and cimag{,f}. They failed to convert their
arguments to the needed type and so the result type depended on the argument
type. Fixing them isn't really worth the eff

Remove the macros for creal{,f} and cimag{,f}. They failed to convert their
arguments to the needed type and so the result type depended on the argument
type. Fixing them isn't really worth the effort because GCC emits the same
assembler code with or without them.

Not minded by: ru
Approved by: das (mentor)

show more ...


12