# bug #45373: complex integers are not yet implemented

 Submitter: CarnĂ« Draug Submitted: Mon 22 Jun 2015 10:52:09 AM UTC Category: Interpreter Severity: 1 - Wish Priority: 5 - Normal Item Group: Matlab Compatibility Status: Duplicate Assigned to: None Originator Name: Open/Closed:  * Closed Release:  * dev Operating System:  * Any Fixed Release: None Planned Release: None
* Mandatory Fields

Add a New Comment Rich Markup

## Discussion

Mon 22 Jun 2015 03:56:46 PM UTC, comment #1:

This was already reported a couple years ago as bug #38959, closing as a duplicate (and updating that bug report's header).

Mike Miller <mtmiller>
Mon 22 Jun 2015 10:52:09 AM UTC, original submission:

I didn't know these even existed so I'm listing them here as unimplemented. I came across these on this stack overflow question http://stackoverflow.com/questions/30923613/how-do-i-make-complex-int16-numbers-in-octave

Apparently complex numbers can be any of the integer classes:

>> a = 8.3+4.9j

a =

8.3000 + 4.9000i

>> a8 = int8 (a)

a8 =

8 +    5i

>> au8 = uint8 (a)

au8 =

8 +    5i

>> a16 = int16 (a)

a16 =

8 +      5i

>> au16 = uint16 (a)

au16 =

8 +      5i

>> a32 = int32 (a)

a32 =

8 +           5i

>> au32 = uint32 (a)

au32 =

8 +           5i

>> a64 = int64 (a)

a64 =

8 +                    5i

>> au64 = uint64 (a)

au64 =

8 +                    5i

>> whos
Name      Size            Bytes  Class     Attributes

a         1x1                16  double    complex
a16       1x1                 4  int16     complex
a32       1x1                 8  int32     complex
a64       1x1                16  int64     complex
a8        1x1                 2  int8      complex
au16      1x1                 4  uint16    complex
au32      1x1                 8  uint32    complex
au64      1x1                16  uint64    complex
au8       1x1                 2  uint8     complex

CarnĂ« Draug <carandraug>

## Attached Files

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Comment:

No files currently attached

## Dependencies

Depends on the following items

Digest:
bug dependencies.

Items that depend on this one: None found

## Mail Notification Carbon-Copy List

Carbon-Copy List
• -email is unavailable- added by mtmiller (Posted a comment)
• -email is unavailable- added by carandraug (Submitted the item)
•

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only group members can vote.

## History

Follow 3 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2015-06-22 mtmiller StatusConfirmed Duplicate
Open/ClosedOpen Closed
Dependencies- Depends on bugs #38959