Skip to content
Snippets Groups Projects
Commit 1af0d139 authored by ghazi's avatar ghazi
Browse files

* builtins.c (fold_builtin_cabs): Fold cabs(x+xi) into

	fabs(x)*sqrt(2).
	* fold-const.c (fold_binary): Fix comment typos.  Fold complex
	(x,0)-(0,y) into (x,-y).  Likewise (0,y)-(x,0) into (-x,y).

testsuite:
	* gcc.dg/builtins-54.c: Add more cases.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121542 138bc75d-0d04-0410-961f-82ee72b054a4
parent 77423564
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment