I noticed that floor() and ceiling() evaluate on complex values, like In [13]: ceiling(1.5*I + 1.5) Out[13]: 2 + 2⋅ⅈ
In [14]: floor(1.5*I + 1.5) Out[14]: 1 + ⅈ In other words, the usual floor and ceiling are applied to the real and imaginary parts separately. I'm curious if anyone knows why this particular generalization was used. Aaron Meurer -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CAKgW%3D6KHt8X1oKDf%3DiXm3_E3YJOqWxTFpNiZHzxCH3wNJusqEA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
