code logs -> 2017 -> Tue, 03 Jan 2017< code.20170102.log - code.20170104.log >
--- Log opened Tue Jan 03 00:00:24 2017
00:10 catadroid [catalyst@Nightstar-2k0p46.dsl.teksavvy.com] has quit [Connection closed]
00:10 catadroid [catalyst@Nightstar-2k0p46.dsl.teksavvy.com] has joined #code
00:24 ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: WeeChat 1.5]
00:25 ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has joined #code
00:25 mode/#code [+ao ToxicFrog ToxicFrog] by ChanServ
02:44 ion_ [Owner@Nightstar-kidhep.ptr.terago.net] has quit [Ping timeout: 121 seconds]
02:58 ion_ [Owner@Nightstar-kidhep.ptr.terago.net] has joined #code
03:12 ion_ [Owner@Nightstar-kidhep.ptr.terago.net] has quit [Ping timeout: 121 seconds]
03:23 ion_ [Owner@Nightstar-kidhep.ptr.terago.net] has joined #code
03:48 ion_ [Owner@Nightstar-kidhep.ptr.terago.net] has quit [Ping timeout: 121 seconds]
03:50 ion_ [Owner@Nightstar-kidhep.ptr.terago.net] has joined #code
04:28 ion_ [Owner@Nightstar-kidhep.ptr.terago.net] has quit [Ping timeout: 121 seconds]
04:52 ion_ [Owner@Nightstar-kidhep.ptr.terago.net] has joined #code
05:53 macdjord [macdjord@Nightstar-5b2l0q.mc.videotron.ca] has joined #code
05:53 mode/#code [+o macdjord] by ChanServ
05:59 catadroid` [catalyst@Nightstar-2k0p46.dsl.teksavvy.com] has joined #code
05:59 catadroid [catalyst@Nightstar-2k0p46.dsl.teksavvy.com] has quit [Connection closed]
06:19 catadroid` [catalyst@Nightstar-2k0p46.dsl.teksavvy.com] has quit [Connection closed]
06:20 catadroid [catalyst@Nightstar-2k0p46.dsl.teksavvy.com] has joined #code
06:33 himi [sjjf@Nightstar-dm0.2ni.203.150.IP] has quit [Ping timeout: 121 seconds]
06:42 ion_ [Owner@Nightstar-kidhep.ptr.terago.net] has quit [Ping timeout: 121 seconds]
07:59 Alek [Alek@Nightstar-cltq0r.il.comcast.net] has quit [Ping timeout: 121 seconds]
08:02 Alek [Alek@Nightstar-cltq0r.il.comcast.net] has joined #code
08:02 mode/#code [+o Alek] by ChanServ
09:04 Kindamoody|autojoin [Kindamoody@Nightstar-0lgkcs.tbcn.telia.com] has joined #code
09:04 mode/#code [+o Kindamoody|autojoin] by ChanServ
09:04 Kindamoody|autojoin is now known as Kindamoody
09:21 Kindamoody is now known as Kindamoody|afk
09:32 himi [sjjf@Nightstar-v37cpe.internode.on.net] has joined #code
09:32 mode/#code [+o himi] by ChanServ
10:30 celticminstrel [celticminst@Nightstar-h4m24u.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
11:33 VirusJTG_ [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code
11:36 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [Ping timeout: 121 seconds]
12:25 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
13:04 VirusJTG_ [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [[NS] Quit: Leaving]
13:04 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code
13:05 mode/#code [+ao VirusJTG VirusJTG] by ChanServ
15:42 macdjord is now known as macdjord|wurk
16:43 catadroid` [catalyst@Nightstar-2k0p46.dsl.teksavvy.com] has joined #code
16:43 catadroid [catalyst@Nightstar-2k0p46.dsl.teksavvy.com] has quit [Connection closed]
17:15 catadroid` is now known as catadroid
17:16 catadroid` [catalyst@Nightstar-2k0p46.dsl.teksavvy.com] has joined #code
17:16 catadroid [catalyst@Nightstar-2k0p46.dsl.teksavvy.com] has quit [Connection closed]
17:24 Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has joined #code
17:24 mode/#code [+o Emmy] by ChanServ
17:58
<@Azash>
http://i.imgur.com/c1zsRKC.jpg
18:06
<@gnolam>
:)
18:10
<&jerith>
That Shakespeare guy was way ahead of his time with *that* one.~
18:12
<@sshine>
http://floating-point-gui.de/errors/comparison/ says at the bottom:
18:12
<@sshine>
There is an alternative to heaping conceptual complexity onto such an apparently simple task: instead of comparing a and b as real numbers, we can think about them as discrete steps and define the error margin as the maximum number of possible floating-point values between the two values.
18:12
<@gnolam>
jerith: https://www.youtube.com/watch?v=oa_hiLXLbTc
18:12
<@sshine>
This is conceptually very clear and easy and has the advantage of implicitly scaling the relative error margin with the magnitude of the values. Technically, itās a bit more complex, but not as much as you might think, because IEEE 754 floats are designed to maintain their order when their bit patterns are interpreted as integers.
18:14 celticminstrel [celticminst@Nightstar-h4m24u.dsl.bell.ca] has joined #code
18:14 mode/#code [+o celticminstrel] by ChanServ
18:15
<@sshine>
-- can anyone understand exactly what he means? let's say double a = 0.1 + 0.2; and double b = 0.15 + 0.15; then abs(*(int*)&a - *(int*)&b) is 1677722 (or 0x19999).
18:15 Vash [Vash@Nightstar-uhn82m.ct.comcast.net] has joined #code
18:15
<@sshine>
then what? how do I use these integer steps to find an appropriate epsilon?
18:17
<@sshine>
(also, that doesn't actually work. I think GCC does some optimization, so I did sscanf("0.1", "%f", &a);
18:25 Kindamoody|afk is now known as Kindamoody
19:10 catadroid [catalyst@Nightstar-2k0p46.dsl.teksavvy.com] has joined #code
19:10 catadroid` [catalyst@Nightstar-2k0p46.dsl.teksavvy.com] has quit [Connection closed]
19:19 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
19:19 mode/#code [+qo Vornicus Vornicus] by ChanServ
19:32 catadroid` [catalyst@Nightstar-2k0p46.dsl.teksavvy.com] has joined #code
19:32 catadroid [catalyst@Nightstar-2k0p46.dsl.teksavvy.com] has quit [Connection closed]
19:37 catadroid [catalyst@Nightstar-2k0p46.dsl.teksavvy.com] has joined #code
19:37 catadroid` [catalyst@Nightstar-2k0p46.dsl.teksavvy.com] has quit [Connection closed]
21:06 himi [sjjf@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds]
21:28 Reiv [NSwebIRC@Nightstar-ih0uis.global-gateway.net.nz] has joined #code
21:28 mode/#code [+o Reiv] by ChanServ
21:52 himi [sjjf@Nightstar-v37cpe.internode.on.net] has joined #code
21:52 mode/#code [+o himi] by ChanServ
21:52 catadroid [catalyst@Nightstar-2k0p46.dsl.teksavvy.com] has quit [Connection closed]
21:53 catadroid [catalyst@Nightstar-2k0p46.dsl.teksavvy.com] has joined #code
21:55 catadroid` [catalyst@Nightstar-2k0p46.dsl.teksavvy.com] has joined #code
21:55 catadroid [catalyst@Nightstar-2k0p46.dsl.teksavvy.com] has quit [Connection closed]
22:30 ion [Owner@Nightstar-6grqph.vs.shawcable.net] has quit [Connection closed]
22:30 ion [Owner@Nightstar-6grqph.vs.shawcable.net] has joined #code
22:30 mode/#code [+o ion] by ChanServ
23:06 Vash [Vash@Nightstar-uhn82m.ct.comcast.net] has quit [Connection closed]
23:10 catadroid [catalyst@Nightstar-2k0p46.dsl.teksavvy.com] has joined #code
23:10 catadroid` [catalyst@Nightstar-2k0p46.dsl.teksavvy.com] has quit [Connection closed]
23:14 catadroid [catalyst@Nightstar-2k0p46.dsl.teksavvy.com] has quit [Ping timeout: 121 seconds]
23:15 Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has quit [Ping timeout: 121 seconds]
23:16 mac [macdjord@Nightstar-5b2l0q.mc.videotron.ca] has joined #code
23:16 mode/#code [+o mac] by ChanServ
23:18 macdjord|wurk [macdjord@Nightstar-5b2l0q.mc.videotron.ca] has quit [Ping timeout: 121 seconds]
--- Log closed Wed Jan 04 00:00:26 2017
code logs -> 2017 -> Tue, 03 Jan 2017< code.20170102.log - code.20170104.log >

[ Latest log file ]