-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Closed
Labels
Description
As @ChrisRackauckas points out on discourse, this shouldn't really be done in a package because Base.parse and all of the argument types are "owned" by Base.
Would also be nice not to have to use horribly inefficient techniques involving eval; see also #21935.
Should be straightforward to implement. The main question in my mind is how permissive it should be:
- Should it allow arbitrary whitespace between the real and imaginary parts? e.g.
"3+4im"and3 + 4imboth allowed? - Should it require
im, or accept the common variantsim,i,j, andI? - Should it require
3+4im, or also allow3+4*im? - Should it support the Fortran style
(real,imag)? (Probably not, since we don't support Fortran-style real literals1.0D+00either.)
jondea