-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Sam,

thanks for your answer.
> Is that double negation really needed? Seems redundant, or am I
> missing something?
I don't know where the double minus came from, but the third parameter
is in fact -1.0/2.0*pow((E1-x)/dE,2.0)). Then The value should be
something around 457.

> In this case; in C the ^ operator is a bitwise xor and doesn't raise
> things to a power.
As you can see, I changed the ^ to pow(), but that doesn't help. The
Origin C compiler understands the ^, so that's not the problem.

> You be better off reporting the actual values of a, b and x that
> caused the program to crash.  When you printed these out you may
> notice that something strange is happening.
The given values _are_ values I got problems with.

Interestingely, the last time I got a new error message: "R6025 - pure
virtual function call" But the description given by microsoft
(http://support.microsoft.com/kb/125749/en-us) doesn't help me.

- -- 
Freundliche Grüße
Daniel Schury
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlGM2A0ACgkQk7XSfqVgB0prmwCdHYtcLtYpUT7GlZ61o5UEPHag
X90AoJ7AVqvLnO50KN6KutWz8HdtpQpN
=CLk+
-----END PGP SIGNATURE-----

Reply via email to