Das stimmt schon so, ist ja nicht potenzieren sondern XOR 3 = 11 2 = 10 ------ ^ 01 = 1
Potenzieren mu�t du mit System.Math.Pow(x,y) Gru� Peter > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Thomas Bandt > Sent: Donnerstag, 10. Februar 2005 16:35 > To: [email protected] > Subject: [Coffeehouse] Potenzieren in C# > > H�!? > > Laut Compiler ist 3^2 = 1 - das gibt's ja wohl nicht!? Wo > liegt der Fehler? Stehe grad m�chtig im Wald... > > Gru�, Thomas > > http://blogs.dotnetgerman.com/thomas/ > > > _______________________________________________ > Coffeehouse Mailingliste, Postings senden an: > [email protected] > An-/Abmeldung und Suchfunktion unter: > http://www.glengamoi.com/mailman/listinfo/coffeehouse > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.300 / Virus Database: 265.8.7 - Release Date: 10.02.2005 > > -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.7 - Release Date: 10.02.2005 _______________________________________________ Coffeehouse Mailingliste, Postings senden an: [email protected] An-/Abmeldung und Suchfunktion unter: http://www.glengamoi.com/mailman/listinfo/coffeehouse
