Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(378)

Delta Between Two Patch Sets: src/cmd/gc/const.c

Issue 5316043: code review 5316043: gc: clean up printing. (Closed)
Left Patch Set: diff -r e2a58806ccd6 https://go.googlecode.com/hg/ Created 13 years, 5 months ago
Right Patch Set: diff -r 01516e31b4f0 https://go.googlecode.com/hg/ Created 13 years, 5 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « src/cmd/gc/Makefile ('k') | src/cmd/gc/dcl.c » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(Both sides are equal)
1 // Copyright 2009 The Go Authors. All rights reserved. 1 // Copyright 2009 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style 2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file. 3 // license that can be found in the LICENSE file.
4 4
5 #include <u.h> 5 #include <u.h>
6 #include <libc.h> 6 #include <libc.h>
7 #include "go.h" 7 #include "go.h"
8 #define TUP(x,y) (((x)<<16)|(y)) 8 #define TUP(x,y) (((x)<<16)|(y))
9 9
10 static Val tocplx(Val); 10 static Val tocplx(Val);
(...skipping 1282 matching lines...) Expand 10 before | Expand all | Expand 10 after
1293 mpmulfltflt(&ad, &rv->imag); // ad 1293 mpmulfltflt(&ad, &rv->imag); // ad
1294 1294
1295 mpmovefltflt(&v->real, &ac); 1295 mpmovefltflt(&v->real, &ac);
1296 mpaddfltflt(&v->real, &bd); // ac+bd 1296 mpaddfltflt(&v->real, &bd); // ac+bd
1297 mpdivfltflt(&v->real, &cc_plus_dd); // (ac+bd)/(cc+dd) 1297 mpdivfltflt(&v->real, &cc_plus_dd); // (ac+bd)/(cc+dd)
1298 1298
1299 mpmovefltflt(&v->imag, &bc); 1299 mpmovefltflt(&v->imag, &bc);
1300 mpsubfltflt(&v->imag, &ad); // bc-ad 1300 mpsubfltflt(&v->imag, &ad); // bc-ad
1301 mpdivfltflt(&v->imag, &cc_plus_dd); // (bc+ad)/(cc+dd) 1301 mpdivfltflt(&v->imag, &cc_plus_dd); // (bc+ad)/(cc+dd)
1302 } 1302 }
LEFTRIGHT

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b