Project

General

Profile

Bug #3880 ยป complex.h_Imaginary_I.patch

Alexander Pyhalov, 2013-07-12 04:09 AM

View differences:

math/i386/usr/include/complex.h 2013-07-12 07:53:16.688407742 +0400
34 34
 * Compilation environments for Solaris must provide the _Imaginary datatype
35 35
 * and the compiler intrinsics _Complex_I and _Imaginary_I
36 36
 */
37
#if defined(__SUNPRO_C) 
37 38
#define	_Complex_I	_Complex_I
38
#define	complex		_Complex
39 39
#define	_Imaginary_I	_Imaginary_I
40
#else
41
#define	_Complex_I	1.0fi
42
#define	_Imaginary_I	1.0fi
43
#endif
44
#define	complex		_Complex
40 45
#define	imaginary	_Imaginary
41 46
#undef	I
42 47
#define	I		_Imaginary_I
43
-- math/sparc/usr/include/complex.h	2013-07-12 07:43:02.744997413 +0400
48
++ math/sparc/usr/include/complex.h	2013-07-12 07:53:16.688407742 +0400
......
34 34
 * Compilation environments for Solaris must provide the _Imaginary datatype
35 35
 * and the compiler intrinsics _Complex_I and _Imaginary_I
36 36
 */
37
#if defined(__SUNPRO_C) 
37 38
#define	_Complex_I	_Complex_I
38
#define	complex		_Complex
39 39
#define	_Imaginary_I	_Imaginary_I
40
#else
41
#define	_Complex_I	1.0fi
42
#define	_Imaginary_I	1.0fi
43
#endif
44
#define	complex		_Complex
40 45
#define	imaginary	_Imaginary
41 46
#undef	I
42 47
#define	I		_Imaginary_I
    (1-1/1)