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

Issue 3906041: code review 3906041: allows cgo to handle 'float complex' and 'double comple...

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 2 months ago by binet
Modified:
10 years, 3 months ago
Reviewers:
rsc
CC:
rsc, binet_cern.ch, golang-dev
Visibility:
Public.

Description

allows cgo to handle 'float complex' and 'double complex' types. adds unit tests for 'float complex', 'double complex' and 'long double complex' note: 'long double complex' can not be used in cgo b/c there is no complex256 nor float128 (golang) type. note: you might want to just discard the .elf and .macho files as they have some of my test-systems paths...

Patch Set 1 #

Patch Set 2 : code review 3906041: allows cgo to handle 'float complex' and 'double comple... #

Patch Set 3 : code review 3906041: allows cgo to handle 'float complex' and 'double comple... #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -22 lines) Patch
M src/cmd/cgo/gcc.go View 1 2 5 chunks +27 lines, -7 lines 0 comments Download
M src/pkg/debug/dwarf/testdata/typedef.c View 3 chunks +7 lines, -0 lines 0 comments Download
M src/pkg/debug/dwarf/testdata/typedef.elf View Binary file 0 comments Download
M src/pkg/debug/dwarf/testdata/typedef.macho View Binary file 0 comments Download
M src/pkg/debug/dwarf/type_test.go View 1 1 chunk +18 lines, -15 lines 0 comments Download

Messages

Total messages: 6
binet
Hello golang-dev@googlegroups.com (cc: binet@cern.ch, golang-dev@googlegroups.com), I'd like you to review this change.
14 years, 2 months ago (2011-01-07 18:16:25 UTC) #1
rsc
The names C.complex64 and C.complex128 are in contrast to C.float and C.double. They should probably ...
14 years, 2 months ago (2011-01-07 21:18:15 UTC) #2
binet
On 2011/01/07 21:18:15, rsc wrote: > The names C.complex64 and C.complex128 > are in contrast ...
14 years, 2 months ago (2011-01-07 22:02:35 UTC) #3
binet
Hello golang-dev@googlegroups.com, rsc (cc: binet@cern.ch, golang-dev@googlegroups.com), Please take another look.
14 years, 2 months ago (2011-01-07 23:36:35 UTC) #4
rsc
LGTM Thanks.
14 years, 2 months ago (2011-01-19 18:41:02 UTC) #5
rsc
14 years, 2 months ago (2011-01-19 19:30:59 UTC) #6
*** Submitted as 033fe03b47f9 ***

cgo: add complex float, complex double

R=rsc
CC=binet, golang-dev
http://codereview.appspot.com/3906041

Committer: Russ Cox <rsc@golang.org>
Sign in to reply to this message.

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