tag:blogger.com,1999:blog-5899547.post112870080635483754..comments2010-09-17T11:16:52.293+05:30Comments on love and machines - my thought store: EndianessSenthil Kumaranhttp://www.blogger.com/profile/00682980074616455702noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-5899547.post-1129753677627530082005-10-20T01:57:00.000+05:302005-10-20T01:57:00.000+05:30have not tried the mathematical aspect of it, dude...have not tried the mathematical aspect of it, dude. was just exploreing the #c wiki page, when found the endianess empty, explored how to figure out, tried it, filled up the wiki page.<BR/>But you caught this in a different light. :) fine and cool, have not thought about a way to check it yet for any possible input. lemme think. you got any?Senthil Kumaranhttps://www.blogger.com/profile/00682980074616455702noreply@blogger.comtag:blogger.com,1999:blog-5899547.post-1128975760243921482005-10-11T01:52:00.000+05:302005-10-11T01:52:00.000+05:30ignore the x=129, x=8 example as i havent tested i...ignore the x=129, x=8 example as i havent tested it.<BR/><BR/>but the logic looks the same.Kannappanhttps://www.blogger.com/profile/02377355508660763444noreply@blogger.comtag:blogger.com,1999:blog-5899547.post-1128975336767419492005-10-11T01:45:00.000+05:302005-10-11T01:45:00.000+05:30isnt both the snippets using the same logic. the d...isnt both the snippets using the same logic. the difference is just in the notations decimal in the first & hex in the second.<BR/><BR/>int x=129 or int x=8 or such kind, will leave one as confused.<BR/><BR/>just trying to see if there is an alternate distinct method of finding endiannessKannappanhttps://www.blogger.com/profile/02377355508660763444noreply@blogger.comtag:blogger.com,1999:blog-5899547.post-1128946206135976842005-10-10T17:40:00.000+05:302005-10-10T17:40:00.000+05:30agreed. the first snippet can help then :)agreed. <BR/>the first snippet can help then :)Senthil Kumaranhttps://www.blogger.com/profile/00682980074616455702noreply@blogger.comtag:blogger.com,1999:blog-5899547.post-1128880964552584922005-10-09T23:32:00.000+05:302005-10-09T23:32:00.000+05:30same logic wont hold good if one is adamant to use...same logic wont hold good if one is adamant to use<BR/>short s=0x0101; or short s=0x5f05f05f; or so on...<BR/><BR/>how can he be satiatedKannappanhttps://www.blogger.com/profile/02377355508660763444noreply@blogger.com