flat assembler
Message board for the users of flat assembler.
Index
> Heap > i 
Do you think the result is correct?  


Total Votes : 3 
Author 

ass0
http://www.google.com/search?hl=en&source=hp&q=sqrt((1)(1))&btnG=Google+Search
Do you think the result is correct? why? _________________ Nombre: Aquiles Castro. Location2: about:robots 

01 Oct 2010, 01:45 

revolution
ass0 wrote: http://www.google.com/search?hl=en&source=hp&q=sqrt((1)(1))&btnG=Google+Search http://www.google.com/search?hl=en&source=hp&q=sqrt%28%281%29%281%29%29&btnG=Google+Search The results looks fine to me. By definition: 1 * 1 = 1 and sqrt (1) = 1 

01 Oct 2010, 01:48 

Tyler
Or 1:
sqrt((1)(1)) == sqrt(1) sqrt(1) sqrt(1) sqrt(1) == i * i i * i = 1 

01 Oct 2010, 02:19 

Tyler


01 Oct 2010, 02:23 

revolution
sqrt (1) = +1 ;thanks for the correction
Tyler: your link is a different calculation: sqrt((1*1)) ass0: You made the same mistake as I did: (1)^(1/2) == +1 

01 Oct 2010, 02:36 

ass0
Oh, OK thanks =D
_________________ Nombre: Aquiles Castro. Location2: about:robots 

01 Oct 2010, 02:41 

Tyler
Your calculator disagrees, Google displays the equation calculated, and this is it's output: "sqrt((1) * (1)) = 1"
I should have thought of the + thing. Nice catch. 

01 Oct 2010, 02:42 

edfed
if signed byte:
1=11111111 if only one bit 1=1 

02 Oct 2010, 01:56 

Tyler
edfed wrote:
Hehe, a signed bit. 

02 Oct 2010, 02:44 

baldr
Tyler,
Didn't you encounter signed 1bit fields in C? They have two values, 1 and 0. 

02 Oct 2010, 07:12 

< Last Thread  Next Thread > 
Forum Rules:

Copyright © 19992020, Tomasz Grysztar. Also on YouTube, Twitter.
Website powered by rwasa.