MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Re: Types in Mathematica thread

  • To: mathgroup at smc.vnet.net
  • Subject: [mg62851] Re: Re: Types in Mathematica thread
  • From: albert <awnl at arcor.de>
  • Date: Tue, 6 Dec 2005 23:10:22 -0500 (EST)
  • References: <200512060543.AAA03708@smc.vnet.net> <dn3fos$7l2$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

> The discussion was not about testing whether something is a real
> number or not (in the mathematical sense). This you test with Element
> [something, Reals]. The discussion was about "types". Please note the
> title of the thread to which you have just contributed, or even
> better rerad the thread.  Well, the "type" of objects with head Real
> in Mathematica is exactly what InexactNumberQ tests for. A
> mathematica _Real is not a "real number" in the sense of mathematics
> but precisely an "inexact number". 

Basically I agree with your answer, but what about:
 
In[10]:= InexactNumberQ[0.5 I]

Out[10]= True



albert


  • Prev by Date: Roman Maeder's Classes.m
  • Next by Date: Re: Types in Mathematica thread
  • Previous by thread: Re: Re: Types in Mathematica thread
  • Next by thread: Re: Re: Re: Types in Mathematica thread