Hermann Riemann wrote:
-1//2==-(1//2)
liefert False

Nicht in R.

> floor(-1/2) == floor (-(1/2))
[1] TRUE

Eigentlich auch nicht überraschend:

> -1/2
[1] -0.5

> -(1/2)
[1] -0.5

Aber in R ist ja auch der Slice-Operator nicht kaputt...


SCNR

Patrick
_______________________________________________
python-de Mailingliste -- python-de@python.org
Zur Abmeldung von dieser Mailingliste senden Sie eine Nachricht an 
python-de-le...@python.org
https://mail.python.org/mailman3/lists/python-de.python.org/
Mitgliedsadresse: arch...@mail-archive.com

Reply via email to