actually, -1^10^10^10 is -11.
== class ==
public class ScottIsADorkWhoSucksAtMathTest {
/**
* I LOVE JAVADOC STUBS!!!!!!!!!!
* @param args not used
*/
public static void main(String[] args) {
// what you really meant
System.out.println((int)Math.pow(Math.pow(Math.pow(-
1d,10d), 10d), 10d));
// what you said :)
System.out.println(-1^10^10^10);
}
}
== output ==
1
-11
Process terminated with exit code 0
so go with your bad self on your -11 dude! :)
Noah
> I find this thread (now firmly entrenched in the 'OT' state) more
> amusing than the original request.
>
> You'll note that my original post was not:
> (-1)^10^10^10
>
> but this:
> - 1^10^10^10
>
> Which was intended to be this:
> -(1^10^10^10)
>
> While the number is certainly far less impressive than it appears at
> first blush (I did check the calculator -- thanks for the tip ;) it is
> still a -1. A 'no' vote. Negatory. Bad. Boo-hiss.
>
> No hard feelings,
>
>
> -sms (I are not the math major I thought I be...)
>
>
>
> -----Original Message-----
> From: Christian Andersson [mailto:[EMAIL PROTECTED]]
> Sent: Fri, March 22, 2002 8:54 AM
> To: '[EMAIL PROTECTED]'
> Subject: RE: [Eap-features] Web Extension
>
>
>
> Please both of you, check again. Use a calculator if you have to. ;)
> What is the value of -1 raised to the power of an even positive number?
>
> /Christian
>
>
>> -----Original Message-----
>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
>> Sent: den 22 mars 2002 15:45
>> To: [EMAIL PROTECTED]
>> Subject: RE: [Eap-features] Web Extension
>>
>>
>> -1^10^10^10 is still -1 ;)
>>
>> -----Original Message-----
>> From: Scott Sirovy [mailto:[EMAIL PROTECTED]]
>> Sent: Friday, March 22, 2002 7:19 AM
>> To: '[EMAIL PROTECTED]'
>> Subject: RE: [Eap-features] Web Extension
>>
>>
>> Ack!
>>
>> Surely you jest!!! ?
>>
>>
>> - 1^10^10^10
>>
>
> --------------------------------------------------
> DISCLAIMER
> This e-mail, and any attachments thereto, is intended only for use by
> the addressee(s) named herein and may contain legally privileged and/or
> confidential information. If you are not the intended recipient of
> this e-mail, you are hereby notified that any dissemination,
> distribution or copying of this e-mail, and any attachments thereto, is
> strictly prohibited. If you have received this e-mail in error, please
> immediately notify me and permanently delete the original and any copy
> of any e-mail and any printout thereof.
>
> E-mail transmission cannot be guaranteed to be secure or error-free.
> The sender therefore does not accept liability for any errors or
> omissions in the contents of this message which arise as a result of
> e-mail transmission.
>
> NOTICE REGARDING PRIVACY AND CONFIDENTIALITY
>
> Knight Trading Group may, at its discretion, monitor and review the
> content of all e-mail communications.
>
>
> _______________________________________________
> Eap-features mailing list
> [EMAIL PROTECTED]
> http://www.intellij.com/mailman/listinfo/eap-features
_______________________________________________
Eap-features mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-features