accuracy and precision computing

From: GioX® (spamstop_at_email.it)
Date: 09/26/04

  • Next message: Louis Luangkesorn: "newbie: passing parameters to subroutine"
    Date: Sun, 26 Sep 2004 14:28:35 +0200
    
    

    hi evrybody!
    I'm developing a program to analyzing radiation pattern of microstrip
    antennas using the moment methods.

    the same code it's been ported to Mathematica (Wolfram Research)

    running the 2 code I discover that there is some difference in the result
    now I'm debugging all the variable and I'm writing a program in VB to do
    that, cause the variable it's so much!

    now I wonder which compiler is more accurate, Fortran or Mathematica??

    in both code I'm using the max dimension for the real and complex variables
    (in fortran: Real(8) and Double Complex, right?)

    because if fortran it's more accurate than Mathematica I stop immediatly to
    check the billion variables!!!!

    thank to all!!
    bye from Rome!
    Marco

    ps
    the machine is a PC with windows2k
    I've read somewhere that the core of mathematica it's been written in C but
    I don't know how they have treated the accuracy of the number.


  • Next message: Louis Luangkesorn: "newbie: passing parameters to subroutine"

    Relevant Pages

    • Re: Verbose functional languages?
      ... Sometimes it is unavoidable to use Fortran. ... I used Mathematica a lot, ... We recently bought a Mac Mini and a SlideArch keyboard. ...
      (comp.lang.functional)
    • Re: A question on Newtons Method
      ... bug reports per day. ... there are arbitrary-precision integers and rationals (Num in OCaml, ... native format in Mathematica, and a major hassle in Fortran). ...
      (sci.math.num-analysis)
    • Re: dgemm subroutine in BLAS - I think Ive cracked the difference, please confirm
      ... but not a single I/O operation on them. ... appear simpler for that rare I/O statement, but the fortran ... convention is simpler for those dozens or hundreds of lines of code ... years and Mathematica for about 15 years, ...
      (comp.lang.fortran)
    • Re: A question on Newtons Method
      ... Have you considered the Fortran equivalent of my numerical ... the Mathematica implementation is much more powerful as it ... > referring to the original function ... incorrect Mathematica code, it is actually incorrect mathematics - you've ...
      (sci.math.num-analysis)
    • Re: "Matlab to Scilab for Dummies" anywhere?
      ... Anyone know of an open-source clone of Mathematica? ... Back at the university we had to program in Fortran on punch ... will harp on)) is/are symbol manipulators. ... linear algebra problem or anything. ...
      (sci.electronics.design)