Re: [Tutor] Floor and modulus for complex arguments

2009-07-03 Thread Tim Peters
[Angus Rodgers] > ... > If I started to agitate for changes to a marginal and little-used > feature of the language within days of starting to learn it, might > I not quickly earn a reputation as a crank?  8-P If that's your /goal/, it would be easier to rant about some imagined flaw in the ring o

Re: [Tutor] Floor and modulus for complex arguments

2009-07-03 Thread Angus Rodgers
>Date: Sat, 04 Jul 2009 00:25:13 +1000 >From: Lie Ryan >Message-ID: > >Angus Rodgers wrote: > >> I /think/ I would be naturally inclined to define: >> >> floor(x + yj) = floor(x) + floor(y)j for all real x, y >> >> z % w = z - floor(z / w) * wfor all complex z, w (!= 0) > >I'm not a m

Re: [Tutor] Floor and modulus for complex arguments

2009-07-03 Thread Lie Ryan
Angus Rodgers wrote: > I'm a little confused by: (i) the definition of the modulus and > floor division functions for complex arguments; (ii) the fact > that these functions for complex arguments are now "deprecated"; > and (iii) the fact that the math.floor() function is not defined > at all for

Re: [Tutor] Floor and modulus for complex arguments

2009-07-03 Thread Tim Peters
[Angus Rodgers] > I'm a little confused by: (i) the definition of the modulus and > floor division functions for complex arguments; Perhaps you're confused by the current definitions simply because they don't make good sense. > (ii) the fact that these functions for complex arguments are > now "

[Tutor] Floor and modulus for complex arguments

2009-07-03 Thread Angus Rodgers
I'm a little confused by: (i) the definition of the modulus and floor division functions for complex arguments; (ii) the fact that these functions for complex arguments are now "deprecated"; and (iii) the fact that the math.floor() function is not defined at all for a complex argument. If I were