code logs -> 2011 -> Sun, 03 Apr 2011< code.20110402.log - code.20110404.log >
--- Log opened Sun Apr 03 00:00:36 2011
00:09 Kindamoody|out is now known as Kindamoody
00:15 You're now known as TheWatcher[T-2]
00:37 You're now known as TheWatcher[zZzZ]
00:47 AnnoDomini is now known as Zzz
02:01 Phox [Tertius_Vulpe@Nightstar-ab4cb40f.abhsia.telus.net] has joined #code
02:02 Stalker [Z@3A600C.A966FF.5BF32D.8E7ABA] has quit [Ping timeout: 121 seconds]
02:03 Phox [Tertius_Vulpe@Nightstar-ab4cb40f.abhsia.telus.net] has quit [[NS] Quit: ]
02:04 Phox [Tertius_Vul@EB02D1.0F3E21.BE1EAF.350E2F] has joined #code
03:03 shade_of_cpux [chatzilla@Nightstar-c978de34.dyn.optonline.net] has joined #code
03:03 shade_of_cpux is now known as cpux
03:05 cpux [chatzilla@Nightstar-c978de34.dyn.optonline.net] has quit [[NS] Quit: ChatZilla 0.9.86.1 [Firefox 4.0/20110318052756]]
03:06 cpux [chatzilla@Nightstar-c978de34.dyn.optonline.net] has joined #code
03:24 Kindamoody is now known as Kindamoody[zZz]
04:26 cpux_ [chatzilla@Nightstar-c978de34.dyn.optonline.net] has joined #code
04:27 cpux [chatzilla@Nightstar-c978de34.dyn.optonline.net] has quit [Ping timeout: 121 seconds]
04:27 cpux_ is now known as cpux
04:39 Vornicus-Latens is now known as Vornicus
05:21 Netsplit *.net <-> *.split quits: Phox, simon_, kwsn, Vornicus, PinkFreud, Tarinaky, Derakon, @Kazriko, @McMartin, @jerith, (+7 more, use /NETSPLIT to show all of them)
05:21 Reiv [orthianz@3CF3A5.E1CD01.36D449.95F5A5] has quit [Ping timeout: 121 seconds]
05:21 cpux [chatzilla@Nightstar-c978de34.dyn.optonline.net] has quit [Ping timeout: 121 seconds]
05:21 Alek [omegaboot@490720.5E22A0.CA107A.D7BF53] has quit [Ping timeout: 121 seconds]
05:21 Syloqs-AFH [Syloq@NetworkAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
05:21 Netsplit over, joins: SmithKurosaki
05:21 cpux [chatzilla@510B1D.8D602E.9FE2BE.9FAE21] has joined #code
05:21 Netsplit over, joins: jerith, Vornicus, Tamber, kwsn, McMartin, EvilDarkLord, Rhamphoryncus, simon_, Kindamoody[zZz], Kazriko (+4 more)
05:21 Chi [omegaboot@490720.5E22A0.CA107A.D7BF53] has joined #code
05:21 Netsplit over, joins: PinkFreud, Derakon
05:21 ServerMode/#code [+oooo jerith Kazriko McMartin Namegduf] by *.Nightstar.Net
05:21 Reiv [orthianz@3CF3A5.E1CD01.36D449.95F5A5] has joined #code
05:23 Syloqs_AFH [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code
05:24 Syloqs_AFH is now known as Syloqs-AFH
05:29
< Phox>
Hmm. Lets say I'm using math.h. Now, I have a double, foo, and a double, bar. Lets suppose I have the line foo = sin(bar);, where bar is the value 0.
05:29
< Phox>
Should foo not equal 0?
05:29
< Phox>
I'm getting 214820000
05:31
< Derakon>
That does seem off.
05:31
< Phox>
Only a little.
05:31
< Derakon>
By any chance is foo unsigned?
05:32
< Phox>
Nope.
05:32
< Derakon>
I'm out of ideas, then.
05:32
< Derakon>
S'bin a long time since I did trig in C though.
05:34
< Phox>
Ah. Isn't that odd. The same equation, moved to a different part of the code, works fine.
05:35
< Phox>
Weird.
05:35
< ToxicFrog>
Phox: how are you determining the value?
05:36
< Phox>
What do you mean?
05:36
< Derakon>
What are you doing to read out foo's value?
05:37
< Derakon>
If you try to print a float as an int, you could get bizarre results; TF has a point.
05:37
< ToxicFrog>
How do you know it's 214820000? Are you checking in the debugger? Using printf %f?
05:37
< Phox>
Just using the debugger, yeah.
05:37
< Derakon>
Does the debugger know that foo is a float and not an int?
--- Log closed Sun Apr 03 05:43:34 2011
--- Log opened Sun Apr 03 05:43:41 2011
05:43 TheWatcher[zZzZ] [chris@Nightstar-b4529b0c.zen.co.uk] has joined #code
05:43 Irssi: #code: Total of 23 nicks [4 ops, 0 halfops, 0 voices, 19 normal]
05:43
< Phox>
Odd thing is, I'm able to work this through assembly. I can set aside a massive chunk of memory for these, if I wanted to.
05:43 ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has joined #code
05:43
< Reiv>
Yeah, I was thinking as much.
05:44 Syloq [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code
05:44
< Phox>
That's actually how I first had it working. So, I'm not even convinced it's the limitations of the processor.
05:44
< Vornicus>
you need two 6s to guarantee a 6, and you need a 5 with that 6 to get higher than 10.
05:44
< Phox>
I kind of think it's a shitty compiler
05:44 Irssi: Join to #code was synced in 54 secs
05:45 Syloq is now known as Syloqs-AFH
05:45
< Reiv>
Vorn: Awesome, cheers.
05:45
< Reiv>
I figured as much.
06:01 kwsn\t-2 [kwsn@Nightstar-9d744862.dyn.centurytel.net] has quit [[NS] Quit: poofers]
06:13
< Phox>
What a crazy program this is. I need a break from it.
06:14
< Phox>
The processor uses 32-bit blocks. So, 4 bytes per register or memory location.
06:15
< Phox>
So, I take an address, and add 2 to it. I figure that, since I'm only using 12 bits of data, I can store two pieces of data per address.
06:15
< Phox>
I figure, add 2 to the address location, and that should shift me by 16 bits, and I can write in a new value, ORred with the old value
06:16
< Phox>
Somehow, that made an array with one piece of data every four elements
06:16
< Phox>
I think I'm done for the day
06:35 Zzz [annodomini@D553D1.BC14F9.EA786C.63D8A4] has quit [Ping timeout: 121 seconds]
06:37 Zzz [annodomini@D553D1.9D4909.0A809A.0D77EC] has joined #code
07:00 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
07:13 Kindamoody[zZz] is now known as Kindamoody
07:15 Derakon is now known as Derakon[AFK]
07:34 Kindamoody [Kindamoody@Nightstar-4764665d.tbcn.telia.com] has quit [Ping timeout: 121 seconds]
07:35 Kindamoody [Kindamoody@35E323.4A5F05.9893B9.A684A3] has joined #code
07:43 You're now known as TheWatcher
08:06 SmithKurosaki [smith@Nightstar-4ac7880e.dsl.teksavvy.com] has quit [Ping timeout: 121 seconds]
08:14 SmithKurosaki [smith@8E7DA3.4AA5B3.23A90F.9EE745] has joined #code
08:31 Vornicus is now known as Vornucis-Latens
08:31 Vornucis-Latens is now known as Vornicus-Latens
08:56 You're now known as TheWatcher[afk]
10:01 Zzz is now known as AnnoDomini
10:30 Stalker [Z@3A600C.A966FF.5BF32D.8E7ABA] has joined #code
11:57 Kindamoody is now known as KiMo|noms
12:46 KiMo|noms is now known as Kindamoody|out
14:50 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has joined #code
16:13 kwsn [kwsn@Nightstar-9d744862.dyn.centurytel.net] has joined #code
16:26 cpux is now known as cpux[cleaning]
16:53 You're now known as TheWatcher
17:10 Reiv [orthianz@3CF3A5.E1CD01.36D449.95F5A5] has quit [Client closed the connection]
17:11 Reiv [orthianz@3CF3A5.E1CD01.36D449.95F5A5] has joined #code
17:13 Derakon[AFK] is now known as Derakon
18:03 AnnoDomini is now known as Birds
18:08 EvilDarkLord is now known as Shield
18:14 Reiv [orthianz@3CF3A5.E1CD01.36D449.95F5A5] has quit [Client closed the connection]
18:14 Reiv [orthianz@3CF3A5.E1CD01.36D449.95F5A5] has joined #code
18:50 SK [smith@Nightstar-c349d1d7.dsl.teksavvy.com] has joined #code
18:52 SmithKurosaki [smith@8E7DA3.4AA5B3.23A90F.9EE745] has quit [Ping timeout: 121 seconds]
20:30
< PinkFreud>
/server/wi raibo
20:30
< PinkFreud>
er.
20:30 * PinkFreud sighs
22:39 Kindamoody|out is now known as Kindamoody
22:52 Birds is now known as AnnoDomini
23:20 Shield is now known as EvilDarkLord
23:39 AnnoDomini [annodomini@D553D1.9D4909.0A809A.0D77EC] has quit [[NS] Quit: leaving]
--- Log closed Mon Apr 04 00:00:50 2011
code logs -> 2011 -> Sun, 03 Apr 2011< code.20110402.log - code.20110404.log >