00:00:00 --- log: started forth/20.07.28 00:54:05 --- quit: gravicappa (Remote host closed the connection) 01:13:31 --- join: xek joined #forth 02:20:13 --- join: X-Scale` joined #forth 02:21:20 --- quit: X-Scale (Ping timeout: 240 seconds) 02:21:21 --- nick: X-Scale` -> X-Scale 03:38:45 --- join: gravicappa joined #forth 03:38:58 MrMobius: What's transcendentals? 03:39:30 To me that means a non-algebraic number like pi or e. 03:49:55 --- quit: xek (Ping timeout: 265 seconds) 04:06:21 --- quit: elioat (Quit: The Lounge - https://thelounge.chat) 04:25:14 --- join: xek joined #forth 05:48:47 --- join: elioat joined #forth 05:48:53 --- join: xek_ joined #forth 05:51:27 --- quit: xek (Ping timeout: 256 seconds) 05:55:28 --- join: jsoft joined #forth 05:58:12 --- join: X-Scale` joined #forth 05:59:40 --- quit: X-Scale (Ping timeout: 260 seconds) 05:59:40 --- nick: X-Scale` -> X-Scale 06:14:56 siraben, I mean like sine, cosine, and logs 06:15:33 MrMobius: Ah, floating point? 06:19:28 ya BCD floating point 06:26:05 I see. Why not use the IEEE representation? IIRC BCD is slow (to the determent of TI calculators) 06:28:04 MrMobius: Although, it can be tricky to implement IEEE from scratch. 06:28:14 Particularly the conversion and parsing routines. 06:28:48 --- join: jackdani1l joined #forth 06:30:02 --- quit: jackdaniel (Disconnected by services) 06:30:08 --- nick: jackdani1l -> jackdaniel 06:34:57 Sin, cos, log &c are sometimes known as “transcendental functions”, because they are not “algebraic”, that is, expressible as (roughly speaking) the dependence of a root of a polynomial equation on a parameter (you see the analogy with transcendental and algebraic numbers). I guess that’s the usage MrMobius wanted to allude to 06:36:54 alexshpilkin: Right. I'm familiar with that definition of transcendental. 06:39:32 Are there actually any convenient softfloat formats (and is it even possible to have such a thing)? As far as I’ve seen, doing IEEE floats in software usually involves disturbing amounts of bit wrangling and special cases 06:41:06 MrMobius, you plan on building temporary log tables and such? That's the only reason I can think of that makes gc relevant to this off hand. 06:44:26 proteusguy: Usually the tables are precomputed and stored, right? 06:45:29 siraben, yes but he's somehow bringing gc into the picture so maybe he has a word to computer & store them only when he needs. 07:03:46 --- quit: Zarutian_HTC (Ping timeout: 256 seconds) 07:59:34 --- join: Zarutian_HTC joined #forth 08:22:14 siraben, I doubt it makes much of a difference on the Z80 since IIRC it has a DAA instruction 08:22:31 siraben, 0 overhead on 6507 since it has a BCD mode so just as fast as decimal 08:25:58 IEEE compatibility is a lot of work from what Ive heard. it would be more work than its worth since this is a fun project that doesnt have to interoperate with other systems 08:26:38 Guest20698, sure, lots of soft floating point schemes. take a look at some of the old 8 bit machines like the apple 2 or commodore 64 08:27:26 CORDIC can compute transcendentals with lookup tables if you have enough room for them. might have to go with something slower if it doesnt fit 08:27:47 Real Programmers™ use fixed point. 08:43:35 --- quit: elioat (Quit: The Lounge - https://thelounge.chat) 08:47:44 --- join: elioat joined #forth 09:06:57 --- quit: xek_ (Ping timeout: 256 seconds) 09:18:46 --- quit: Zarutian_HTC (Ping timeout: 240 seconds) 09:30:59 --- join: Zarutian_HTC joined #forth 09:59:46 --- quit: jsoft (Ping timeout: 240 seconds) 10:19:36 http://www.sandelman.ca/People/Michael_Richardson/network-forth.html 10:59:57 --- quit: iyzsong (Quit: ZNC 1.7.5 - https://znc.in) 11:02:21 --- join: iyzsong joined #forth 11:11:45 MrMobius : I had no idea, thanks. I’ll look into that. Although I’m a little skeptical regarding correct rounding, AFAIK in pre-IEEE (or actually pre-8087) times noone knew how to do that even for basic arithmetic and only used hacks like guard bits, if that. 11:13:26 "correct" rounding. Well, you have to define something 11:14:26 (Same story about transcendental functions—getting within a couple digits of precision isn’t difficult, but the things CRlibm does to get the best possible result scare me) 11:22:06 patrickg : I don’t understand your point. I take “correctly rounded” to mean “the mathematically exact result rounded according to the current rounding mode”, and as far as I’m aware it’s the only definition of the term 11:29:44 Still there's a rounding mode to define 11:40:11 Round-to-nearest (possibly with some sort of tiebreaking rule), usually. I haven’t really seen the other possibilities mentioned outside vague references to interval arithmetic, though I’m in no way an expert 11:40:51 bankers rounding is one scheme 11:43:26 (round-to-nearest is “better” than the others in the sense that your error bound for an individual operation is half as big, so it stands to reason that you must be doing something fancy if you explicitly want something else) 11:51:26 --- join: xek_ joined #forth 11:54:32 --- quit: iyzsong (Ping timeout: 256 seconds) 12:01:43 --- join: iyzsong joined #forth 12:21:25 --- quit: kori (Quit: WeeChat 2.8) 12:23:33 --- join: kori joined #forth 12:23:33 --- quit: kori (Changing host) 12:23:33 --- join: kori joined #forth 12:30:43 --- quit: kori (Quit: WeeChat 2.8) 12:36:37 --- join: kori joined #forth 13:25:31 --- quit: kori (Quit: WeeChat 2.8) 13:35:22 --- quit: Zarutian_HTC (Remote host closed the connection) 13:36:32 --- quit: iyzsong (Ping timeout: 256 seconds) 13:43:06 --- join: kori joined #forth 13:50:04 --- join: WickedShell joined #forth 13:53:35 --- join: Zarutian_HTC joined #forth 14:03:53 --- quit: gravicappa (Ping timeout: 256 seconds) 15:03:48 --- quit: xek_ (Ping timeout: 256 seconds) 16:00:43 --- join: dave0 joined #forth 16:12:19 --- quit: tabemann (Ping timeout: 260 seconds) 16:41:29 --- join: iyzsong joined #forth 17:58:17 --- quit: ovf (*.net *.split) 18:01:32 --- quit: jimt[m] (*.net *.split) 18:01:32 --- quit: pareidolia (*.net *.split) 18:02:12 --- join: ovf joined #forth 18:02:12 --- join: jimt[m] joined #forth 18:02:12 --- join: pareidolia joined #forth 18:03:53 --- quit: Blue_flame (Write error: Connection reset by peer) 18:03:59 --- quit: Guest20698 (Write error: Connection reset by peer) 18:04:03 --- quit: jimt[m] (Write error: Connection reset by peer) 18:04:09 --- quit: siraben (Write error: Connection reset by peer) 18:07:14 --- join: boru` joined #forth 18:07:18 --- quit: boru (Disconnected by services) 18:07:20 --- nick: boru` -> boru 18:07:48 --- join: jimt[m] joined #forth 18:10:01 --- quit: WickedShell (Remote host closed the connection) 18:14:00 --- quit: kori (Quit: WeeChat 2.8) 18:15:52 --- join: Blue_flame joined #forth 18:15:52 --- join: siraben joined #forth 18:15:57 --- join: alexshpilkin joined #forth 18:29:39 --- quit: proteus-guy (Ping timeout: 256 seconds) 18:55:31 --- join: tabemann joined #forth 19:02:31 --- quit: X-Scale (Ping timeout: 256 seconds) 19:02:56 --- join: X-Scale` joined #forth 19:03:25 --- nick: X-Scale` -> X-Scale 19:17:53 --- quit: dave0 (Quit: dave's not here) 20:04:57 --- join: kori joined #forth 20:51:31 --- quit: kori (Quit: WeeChat 2.8) 21:02:18 --- join: kori joined #forth 21:02:18 --- quit: kori (Changing host) 21:02:18 --- join: kori joined #forth 21:09:02 boru, fixed point +10! 22:11:18 --- join: gravicappa joined #forth 22:44:12 --- join: jsoft joined #forth 23:59:59 --- log: ended forth/20.07.28