Skip to content

How to workaround a port not supporting complex numbers ? #13375

Closed Answered by mendenm
Josverl asked this question in SAMD
Discussion options

You must be logged in to vote

can you try to do:

try:
    complex(1,0)
except:
    #no complex numbers 

using function syntax, for the complex instead of direct numerical syntax? I don't have a suitable platform to test this on, so I cannot guarantee it will work.

Replies: 4 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@rkompass
Comment options

@Josverl
Comment options

Answer selected by Josverl
Comment options

You must be logged in to vote
1 reply
@robert-hh
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
SAMD
Labels
None yet
4 participants