[GiNaC-list] Bug Report

Jon Graves jmgraves8 at gmail.com
Tue Jul 19 22:05:05 CEST 2011


OS:  Ubuntu 11.04

Compiled with g++:  g++ -o test test.cpp -lcln -lginac

GiNaC ver:  1.60

Sample version of program attached.  Program generates Hermite polynomial to
high degree.  It then subs into it a series of numbers.  The output RANDOMLY
generates an incorrect answer.  No answer after a substitution should ever
be zero, yet zeros inevitably appear.  The problem occurs once out of every
3 executions, on average.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cebix.net/pipermail/ginac-list/attachments/20110719/24a84551/attachment.html>
-------------- next part --------------
-2.188560273193650785E92
2.2984468675683511327E92
-2.5351702056440453703E92
2.937095457910422997E92
-3.574620585317350475E92
4.5711647391710166945E92
-6.143484699301046008E92
8.680047369264968842E92
-1.2897347957642003287E93
2.0161618935520760415E93
-3.3173995613046088006E93
5.7483678186133830726E93
-1.04959345976820976695E94
2.020723526382905831E94
-4.10526744107745576E94
8.805439395486939703E94
-2.0009275659620518402E95
4.800880277281935077E95
-1.277255677887318806E96
3.464276018748319562E96
-1.0541549649811261183E97
4.3997043757018977803E97
1.3295789224913746983E98
7.800357656803673507E98
-1.6237773447070758446E100
-1.0129704919151323975E102
7.4158735823768019296E102
-7.18293138018741116E103
-1.3259288873692600927E105
4.5601202950740093727E105
1.5767802984931741642E105
2.8898082561474901046E107
-8.0364191504292105767E108
-8.2198990397084162976E108
-2.9121928026395532026E110
-1.9539874288678292456E111
3.3668706466645673155E112
2.6934965173316538524E113
9.2348452022799560654E113
0.0
-1.5760802478557791685E116
2.5217283965692466696E117
-1.00869135862769866783E118
0.0
0.0
2.0657999024695268717E121
-1.1568479453829350482E123
1.877398951364306021E125
-7.2895963790438293504E127
1.3321811420971102646E131
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.cpp
Type: text/x-c++src
Size: 1690 bytes
Desc: not available
URL: <http://www.cebix.net/pipermail/ginac-list/attachments/20110719/24a84551/attachment.cpp>


More information about the GiNaC-list mailing list