Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There's a method .reals on Complex that gives the real and imaginary parts #2359

Closed
p6rt opened this issue Feb 9, 2011 · 4 comments
Closed
Labels

Comments

@p6rt
Copy link

p6rt commented Feb 9, 2011

Migrated from rt.perl.org#83720 (status was 'rejected')

Searchable as RT83720$

@p6rt
Copy link
Author

p6rt commented Feb 9, 2011

From @masak

<TimToady> is there a method that pulls out .re and .im as a list
<flussence> .reals
<PerlJam> that's so misnamed
<masak> what PerlJam said.
* masak considers getting a #perl6 badge "API naming curmudgeon"
<TimToady> rakudo​: say (1+2i).reals.fmt("%7.3f")
<p6eval> rakudo cad076​: OUTPUT« 1.000 2.000␤»
<masak> wtf, .reals exists?!
<TimToady> it should obviously be named .reim
* masak submits rakudobug
<PerlJam> masak​: yeah, I thought he was joking too
<PerlJam> masak++
<masak> whoever named that function, come talk with me at the end of the day. :)

@p6rt
Copy link
Author

p6rt commented May 30, 2013

From @coke

On Tue Feb 08 16​:28​:48 2011, masak wrote​:

<TimToady> is there a method that pulls out .re and .im as a list
<flussence> .reals
<PerlJam> that's so misnamed
<masak> what PerlJam said.
* masak considers getting a #perl6 badge "API naming curmudgeon"
<TimToady> rakudo​: say (1+2i).reals.fmt("%7.3f")
<p6eval> rakudo cad076​: OUTPUT« 1.000 2.000␤»
<masak> wtf, .reals exists?!
<TimToady> it should obviously be named .reim
* masak submits rakudobug
<PerlJam> masak​: yeah, I thought he was joking too
<PerlJam> masak++
<masak> whoever named that function, come talk with me at the end of
the day. :)

This needs to be resolved on the spec side of things first. (neither of these is in the specs today).

Now being tracked at Raku/old-design-docs#48

--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented May 30, 2013

The RT System itself - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented May 30, 2013

@coke - Status changed from 'open' to 'rejected'

@p6rt p6rt closed this as completed May 30, 2013
@p6rt p6rt added the Bug label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant