Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

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

Search the Archive

Re: Real numerical computations

  • To: mathgroup at
  • Subject: [mg71785] Re: Real numerical computations
  • From: José Carlos Santos <jcsantos at>
  • Date: Wed, 29 Nov 2006 02:56:26 -0500 (EST)
  • References: <ekeb6t$t42$> <ekh5n2$rp1$>

On 28-11-2006 11:14, Jean-Marc Gulliet wrote:

>> With Mathematica, if I type
>> N[(-1.)^(1/3)]
>> I get
>> 0.5 + 0.866025 i
>> This is correct, of course, but I would like to get -1. instead. How do
>> I tell Mathematica that I want a real result (if there is one)?
> Have a look at the technical FAQ titled "How do I get x^(1/3) (where x 
> is a negative number) to evaluate to a real number?"

Thanks. I didn't even knew about this FAQ!

Best regards,

Jose Carlos Santos

  • Prev by Date: Re: Question about significant digits.
  • Next by Date: Re: Strange empty set of solutions
  • Previous by thread: RE: Real numerical computations
  • Next by thread: Re: Real numerical computations