Post Reply 
DM 42
05-26-2017, 01:37 AM (This post was last modified: 05-26-2017 01:38 AM by toml_12953.)
Post: #47
RE: DM 42
(05-26-2017 12:05 AM)Paul Dale Wrote:  
(05-25-2017 05:15 PM)toml_12953 Wrote:  But when the imaginary part is 0 doesn't that mean the number *is* a real?
It seems more intelligent to treat it that way than to mindlessly use complex routines that aren't necessary.

A world of pitfalls lies here. Consider the difference between arcsin(3) and arcsin(3 + 0i). The former should produce a domain error, the latter a result.

A calculator should do exactly what is asked of it, not something that is mostly equivalent.

When there truly is no difference between the two then yes, the real version can be used.

The Prime displays 1.57079632679-1.76274717404*i when asked to calculate ASIN(3). It knows enough to use complex when necessary and reals when possible.

Tom L

Tom L
Cui bono?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
DM 42 - Geoff Quickfall - 05-19-2017, 05:21 PM
RE: DM 42 - Dave Frederickson - 05-19-2017, 05:29 PM
RE: DM 42 - Dave Frederickson - 05-26-2017, 08:32 PM
RE: DM 42 - Massimo Gnerucci - 05-19-2017, 05:30 PM
RE: DM 42 - Ángel Martin - 05-19-2017, 05:53 PM
RE: DM 42 - Massimo Gnerucci - 05-19-2017, 06:08 PM
RE: DM 42 - Dan B - 05-19-2017, 08:58 PM
RE: DM 42 - Geoff Quickfall - 05-19-2017, 09:30 PM
RE: DM 42 - Luigi Vampa - 05-19-2017, 09:38 PM
RE: DM 42 - Namir - 05-20-2017, 01:07 AM
RE: DM 42 - 48GX - 05-24-2017, 11:37 AM
RE: DM 42 - Dave Britten - 05-24-2017, 01:27 PM
RE: DM 42 - matthiaspaul - 05-25-2017, 09:09 PM
RE: DM 42 - matthiaspaul - 05-26-2017, 12:18 AM
RE: DM 42 - matthiaspaul - 05-29-2017, 11:26 PM
RE: DM 42 - 48GX - 05-30-2017, 12:37 AM
RE: DM 42 - rprosperi - 05-30-2017, 02:21 AM
RE: DM 42 - grsbanks - 05-30-2017, 10:31 AM
RE: DM 42 - Logan - 05-24-2017, 11:38 AM
RE: DM 42 - HP-Collection - 05-24-2017, 12:15 PM
RE: DM 42 - Dave Frederickson - 05-24-2017, 03:58 PM
RE: DM 42 - Guenter Schink - 05-24-2017, 01:53 PM
RE: DM 42 - Ángel Martin - 05-26-2017, 01:36 PM
RE: DM 42 - Thomas Okken - 05-26-2017, 04:30 PM
RE: DM 42 - Guenter Schink - 05-26-2017, 04:53 PM
RE: DM 42 - Ángel Martin - 05-27-2017, 05:27 AM
RE: DM 42 - Logan - 05-24-2017, 04:32 PM
RE: DM 42 - Ángel Martin - 05-24-2017, 04:44 PM
RE: DM 42 - Vtile - 05-24-2017, 05:34 PM
RE: DM 42 - Guenter Schink - 05-24-2017, 06:42 PM
RE: DM 42 - Ángel Martin - 05-24-2017, 06:48 PM
RE: DM 42 - Vtile - 05-24-2017, 07:58 PM
RE: DM 42 - Thomas Okken - 05-24-2017, 11:25 PM
RE: DM 42 - Ángel Martin - 05-25-2017, 04:50 AM
RE: DM 42 - Thomas Okken - 05-25-2017, 11:31 AM
RE: DM 42 - Ángel Martin - 05-25-2017, 04:35 PM
RE: DM 42 - Thomas Okken - 05-25-2017, 06:16 PM
RE: DM 42 - matthiaspaul - 05-26-2017, 11:38 AM
RE: DM 42 - Hsilop - 05-24-2017, 08:25 PM
RE: DM 42 - Logan - 05-24-2017, 08:29 PM
RE: DM 42 - Vtile - 05-24-2017, 08:30 PM
RE: DM 42 - Hsilop - 05-24-2017, 09:05 PM
RE: DM 42 - Vtile - 05-24-2017, 09:08 PM
RE: DM 42 - Logan - 05-24-2017, 09:09 PM
RE: DM 42 - Vtile - 05-24-2017, 09:11 PM
RE: DM 42 - Paul Dale - 05-25-2017, 12:59 AM
RE: DM 42 - Thomas Okken - 05-25-2017, 02:13 AM
RE: DM 42 - Guenter Schink - 05-25-2017, 09:52 AM
RE: DM 42 - Paul Dale - 05-25-2017, 11:11 AM
RE: DM 42 - Ángel Martin - 05-25-2017, 04:31 PM
RE: DM 42 - toml_12953 - 05-25-2017, 05:15 PM
RE: DM 42 - Thomas Okken - 05-25-2017, 06:21 PM
RE: DM 42 - Paul Dale - 05-26-2017, 12:05 AM
RE: DM 42 - toml_12953 - 05-26-2017 01:37 AM
RE: DM 42 - pier4r - 05-25-2017, 08:03 PM
RE: DM 42 - Thomas Okken - 05-25-2017, 10:57 PM
RE: DM 42 - Paul Dale - 05-26-2017, 03:51 AM
RE: DM 42 - Ángel Martin - 05-26-2017, 05:33 AM
RE: DM 42 - Thomas Okken - 05-26-2017, 07:24 AM
RE: DM 42 - toml_12953 - 05-26-2017, 07:41 AM
RE: DM 42 - toml_12953 - 05-26-2017, 07:33 AM
RE: DM 42 - Paul Dale - 05-26-2017, 07:34 AM
RE: DM 42 - toml_12953 - 05-26-2017, 12:52 PM
RE: DM 42 - Thomas Okken - 05-26-2017, 04:36 PM
RE: DM 42 - toml_12953 - 05-26-2017, 07:37 PM
RE: DM 42 - AlexFekken - 05-26-2017, 10:24 AM
RE: DM 42 - Ángel Martin - 05-26-2017, 12:19 PM
RE: DM 42 - jch - 05-26-2017, 01:17 PM
RE: DM 42 - Thomas Okken - 05-28-2017, 08:57 PM
RE: DM 42 - rprosperi - 05-28-2017, 09:09 PM
RE: DM 42 - Thomas Okken - 05-28-2017, 09:47 PM
RE: DM 42 - rprosperi - 05-28-2017, 10:04 PM
RE: DM 42 - Thomas Okken - 05-28-2017, 10:24 PM
RE: DM 42 - rprosperi - 05-29-2017, 12:10 AM
RE: DM 42 - Thomas Okken - 05-29-2017, 01:30 AM
RE: DM 42 - rprosperi - 05-29-2017, 02:12 AM
RE: DM 42 - Massimo Gnerucci - 05-26-2017, 06:16 PM
RE: DM 42 - pier4r - 05-26-2017, 06:24 PM
RE: DM 42 - Thomas Okken - 05-26-2017, 06:56 PM
RE: DM 42 - Geoff Quickfall - 05-26-2017, 08:59 PM
RE: DM 42 - Dave Frederickson - 05-26-2017, 09:22 PM
RE: DM 42 - Geoff Quickfall - 05-26-2017, 09:44 PM
RE: DM 42 - matthiaspaul - 05-30-2017, 10:45 AM
RE: DM 42 - Massimo Gnerucci - 05-30-2017, 11:37 AM
RE: DM 42 - Guenter Schink - 05-30-2017, 12:24 PM
RE: DM 42 - Thomas Okken - 05-30-2017, 12:50 PM
RE: DM 42 - Ángel Martin - 05-30-2017, 04:44 PM
RE: DM 42 - Guenter Schink - 05-30-2017, 06:48 PM
RE: DM 42 - Ángel Martin - 05-30-2017, 07:47 PM
RE: DM 42 - David Hayden - 02-10-2018, 08:51 PM
RE: DM 42 - Logan - 02-10-2018, 09:47 PM
RE: DM 42 - Guenter Schink - 02-10-2018, 11:18 PM



User(s) browsing this thread: 8 Guest(s)