Remove builtin complex type and move it to stdlib #13

Open
opened 2025-12-14 15:51:56 -05:00 by Ghost · 0 comments
Ghost commented 2025-12-14 15:51:56 -05:00 (Migrated from codefloe.com)

The current complex type is really annoying to parse because of the number of different combinations:

  • 1
  • -1
  • 1i
  • -1i
  • 1+1i
  • -1+1i
  • 1-1i
  • -1-1i

Given how relatively infrequently complex numbers generally get used, it's probably safe to move them into the stdlib.

The current `complex` type is really annoying to parse because of the number of different combinations: - `1` - `-1` - `1i` - `-1i` - `1+1i` - `-1+1i` - `1-1i` - `-1-1i` Given how relatively infrequently complex numbers generally get used, it's probably safe to move them into the stdlib.
Sign in to join this conversation.
No labels
stdlib
syntax
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nclang/design#13
No description provided.