You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
457 lines
12 KiB
457 lines
12 KiB
#include "exam.h"
|
|
#include <cln/dfloat.h>
|
|
#include <cln/dfloat_io.h>
|
|
|
|
static plus_test dfloat_plus_tests[] = {
|
|
|
|
{ "0.6049332056786565d0", "-0.9611373574853808d0",
|
|
"-0.35620415180672427d0" },
|
|
|
|
{ "-0.4763715667865308d0", "0.25936932107685584d0",
|
|
"-0.21700224570967497d0" },
|
|
|
|
{ "0.2666481927718355d0", "-0.04984768063142031d0",
|
|
"0.21680051214041518d0" },
|
|
|
|
{ "-0.29478659758474846d0", "0.3371004337672615d0",
|
|
"0.042313836182513054d0" },
|
|
|
|
{ "0.8203063910979178d0", "0.28968607542857916d0",
|
|
"1.109992466526497d0" },
|
|
|
|
{ "-0.08207985138263585d0", "0.4368723951711785d0",
|
|
"0.35479254378854264d0" },
|
|
|
|
{ "-0.8659875373355486d0", "-6.631430771196765d9",
|
|
"-6.631430772062753d9" },
|
|
|
|
{ "0.15071385783307878d0", "-7.154424279496395d9",
|
|
"-7.154424279345681d9" },
|
|
|
|
{ "-0.8969642760814789d0", "-2.4070067380831727d8",
|
|
"-2.4070067470528156d8" },
|
|
|
|
{ "-0.9610362081435054d0", "9.070410778399954d9",
|
|
"9.070410777438917d9" },
|
|
|
|
{ "0.5129052501104072d0", "-7.47841120327471d9",
|
|
"-7.478411202761805d9" },
|
|
|
|
{ "0.3840242289740675d0", "7.793048210060242d9",
|
|
"7.793048210444266d9" },
|
|
|
|
{ "0.07603066126204616d0", "5.215008470388369d-11",
|
|
"0.07603066131419625d0" },
|
|
|
|
{ "-0.17187858025312586d0", "-5.116645189173968d-11",
|
|
"-0.17187858030429232d0" },
|
|
|
|
{ "0.2521315816245864d0", "8.603210607505339d-11",
|
|
"0.2521315817106185d0" },
|
|
|
|
{ "-0.3557185853193914d0", "-2.0371324697272998d-11",
|
|
"-0.3557185853397627d0" },
|
|
|
|
{ "0.7142792289542045d0", "-7.106356053331326d-11",
|
|
"0.7142792288831409d0" },
|
|
|
|
{ "0.4380415886629452d0", "-3.069969538383403d-11",
|
|
"0.43804158863224546d0" },
|
|
|
|
{ "0.24798614227178573d0", "3.972393639614975d19",
|
|
"3.972393639614975d19" },
|
|
|
|
{ "-0.5210677288128815d0", "4.846393336901129d19",
|
|
"4.846393336901129d19" },
|
|
|
|
{ "0.5825404819115d0", "1.9710987361264255d19",
|
|
"1.9710987361264255d19" },
|
|
|
|
{ "0.9105175208730549d0", "2.391166552096775d19",
|
|
"2.391166552096775d19" },
|
|
|
|
{ "0.48414423368371695d0", "-9.696117779740095d19",
|
|
"-9.696117779740095d19" },
|
|
|
|
{ "0.25780758450697716d0", "6.094683117025535d19",
|
|
"6.094683117025535d19" },
|
|
|
|
{ "0.9824539149570484d0", "-5.4680066990812835d-21",
|
|
"0.9824539149570484d0" },
|
|
|
|
{ "-0.9520982941158654d0", "3.2513564801568073d-21",
|
|
"-0.9520982941158654d0" },
|
|
|
|
{ "0.0630170624560149d0", "-9.858852595793203d-21",
|
|
"0.0630170624560149d0" },
|
|
|
|
{ "0.24705141169888878d0", "1.4582081178692862d-22",
|
|
"0.24705141169888878d0" },
|
|
|
|
{ "0.7440948700757135d0", "-3.0932442581890818d-21",
|
|
"0.7440948700757135d0" },
|
|
|
|
{ "-0.5055970869515372d0", "4.0277457257516025d-21",
|
|
"-0.5055970869515372d0" },
|
|
|
|
{ "1.672355787134947d9", "0.0064909681594120805d0",
|
|
"1.672355787141438d9" },
|
|
|
|
{ "-9.694504381396599d9", "-0.8925470085542831d0",
|
|
"-9.694504382289146d9" },
|
|
|
|
{ "-1.6695005924298635d9", "-0.34426964741306d0",
|
|
"-1.6695005927741332d9" },
|
|
|
|
{ "-6.085591212594774d9", "0.5107956920100049d0",
|
|
"-6.085591212083979d9" },
|
|
|
|
{ "7.457486660952688d9", "-0.4323787588338597d0",
|
|
"7.457486660520309d9" },
|
|
|
|
{ "-8.790796444526546d9", "0.911415263281967d0",
|
|
"-8.790796443615131d9" },
|
|
|
|
{ "9.667548804251982d9", "-1.266547751029956d8",
|
|
"9.540894029148987d9" },
|
|
|
|
{ "-6.169561898845145d9", "9.627911197121864d9",
|
|
"3.458349298276719d9" },
|
|
|
|
{ "-9.870287253215279d9", "9.004242781937655d8",
|
|
"-8.969862975021513d9" },
|
|
|
|
{ "-8.175630881172554d9", "-4.08632236263908d9",
|
|
"-1.2261953243811634d10" },
|
|
|
|
{ "2.9069444232153206d9", "-7.961831315741894d9",
|
|
"-5.054886892526573d9" },
|
|
|
|
{ "-7.003647401371184d9", "-1.768371514817526d9",
|
|
"-8.772018916188711d9" },
|
|
|
|
{ "-6.418847599138249d9", "2.755257250162372d-11",
|
|
"-6.418847599138249d9" },
|
|
|
|
{ "2.3093152687241793d9", "1.2205440142364766d-11",
|
|
"2.3093152687241793d9" },
|
|
|
|
{ "8.634577667577518d9", "-9.065714034538668d-11",
|
|
"8.634577667577518d9" },
|
|
|
|
{ "1.711283212591781d9", "-3.235019197733951d-11",
|
|
"1.711283212591781d9" },
|
|
|
|
{ "2.583886638357791d9", "-8.199109798920928d-11",
|
|
"2.583886638357791d9" },
|
|
|
|
{ "-7.517123950474774d9", "5.2057802142431697d-11",
|
|
"-7.517123950474774d9" },
|
|
|
|
{ "3.266571938086574d9", "-4.4782768261898355d19",
|
|
"-4.478276825863179d19" },
|
|
|
|
{ "2.1000389219899452d9", "-8.547158903365463d19",
|
|
"-8.54715890315546d19" },
|
|
|
|
{ "-3.9140926801217155d9", "7.387959860641422d19",
|
|
"7.387959860250013d19" },
|
|
|
|
{ "-7.087607465790431d9", "7.96875093387599d19",
|
|
"7.96875093316723d19" },
|
|
|
|
{ "-8.341000808926519d9", "6.9360028397637304d19",
|
|
"6.93600283892963d19" },
|
|
|
|
{ "-5.507940634743809d9", "9.760028858210094d19",
|
|
"9.7600288576593d19" },
|
|
|
|
{ "8.492522971238823d9", "-2.8253881864964467d-22",
|
|
"8.492522971238823d9" },
|
|
|
|
{ "1.2731765723336241d9", "-5.8473937102910264d-21",
|
|
"1.2731765723336241d9" },
|
|
|
|
{ "9.654280758878323d9", "-4.2332114049658973d-22",
|
|
"9.654280758878323d9" },
|
|
|
|
{ "-6.864618926120946d9", "-1.245648314796599d-21",
|
|
"-6.864618926120946d9" },
|
|
|
|
{ "-3.9916044043798673d8", "1.697737588450543d-21",
|
|
"-3.9916044043798673d8" },
|
|
|
|
{ "-7.818041624198686d9", "4.635421587404246d-21",
|
|
"-7.818041624198686d9" },
|
|
|
|
{ "2.0609929543990767d-12", "-0.2126306554359736d0",
|
|
"-0.2126306554339126d0" },
|
|
|
|
{ "-1.5923091695877845d-11", "0.515731533720818d0",
|
|
"0.515731533704895d0" },
|
|
|
|
{ "4.794527092905871d-11", "-0.9066947202676092d0",
|
|
"-0.9066947202196639d0" },
|
|
|
|
{ "-8.63854477728633d-11", "0.3122982022565777d0",
|
|
"0.3122982021701922d0" },
|
|
|
|
{ "-7.577966666552416d-11", "-0.24137602092437593d0",
|
|
"-0.2413760210001556d0" },
|
|
|
|
{ "-4.971730475882754d-11", "-0.8202688719750202d0",
|
|
"-0.8202688720247375d0" },
|
|
|
|
{ "-5.249369194379291d-11", "-8.546120620321186d9",
|
|
"-8.546120620321186d9" },
|
|
|
|
{ "8.280786962526793d-11", "5.758373397436368d9",
|
|
"5.758373397436368d9" },
|
|
|
|
{ "6.370323595535815d-11", "-8.470663335712393d9",
|
|
"-8.470663335712393d9" },
|
|
|
|
{ "3.59771226839467d-11", "3.5042505440266216d8",
|
|
"3.5042505440266216d8" },
|
|
|
|
{ "-3.945501687396375d-11", "-5.082779978069177d9",
|
|
"-5.082779978069177d9" },
|
|
|
|
{ "9.780590963267516d-11", "-5.05591945120475d9",
|
|
"-5.05591945120475d9" },
|
|
|
|
{ "6.323293597096768d-11", "-7.208898910487284d-11",
|
|
"-8.85605313390516d-12" },
|
|
|
|
{ "-4.549781732354749d-11", "-6.095452636416357d-11",
|
|
"-1.0645234368771105d-10" },
|
|
|
|
{ "-5.372680267837374d-11", "2.0748354219485134d-11",
|
|
"-3.297844845888861d-11" },
|
|
|
|
{ "3.550879553916665d-11", "-4.374873254056574d-11",
|
|
"-8.23993700139909d-12" },
|
|
|
|
{ "-6.746002242414832d-11", "3.0803985031459436d-11",
|
|
"-3.665603739268888d-11" },
|
|
|
|
{ "-7.902512161494214d-11", "-8.907842858073236d-11",
|
|
"-1.681035501956745d-10" },
|
|
|
|
{ "-4.1465935469350415d-11", "6.244210696961323d19",
|
|
"6.244210696961323d19" },
|
|
|
|
{ "4.921297536286578d-11", "-1.694436650099881d19",
|
|
"-1.694436650099881d19" },
|
|
|
|
{ "-7.879478980672654d-11", "6.41757969360492d19",
|
|
"6.41757969360492d19" },
|
|
|
|
{ "-8.200749317872953d-11", "-9.490225542618815d19",
|
|
"-9.490225542618815d19" },
|
|
|
|
{ "-7.572981329795812d-11", "-3.350367078181029d19",
|
|
"-3.350367078181029d19" },
|
|
|
|
{ "-5.955255565125549d-11", "-5.009913629288125d19",
|
|
"-5.009913629288125d19" },
|
|
|
|
{ "-9.818180775332558d-11", "-7.926156011681593d-21",
|
|
"-9.818180776125174d-11" },
|
|
|
|
{ "-5.2466438379505935d-12", "8.468830229031857d-21",
|
|
"-5.246643829481763d-12" },
|
|
|
|
{ "3.582774358441715d-11", "3.6865211729351863d-22",
|
|
"3.58277435847858d-11" },
|
|
|
|
{ "7.169296413565744d-11", "-9.974881413980864d-21",
|
|
"7.169296412568256d-11" },
|
|
|
|
{ "-9.615073655516977d-11", "4.9552491300097786d-21",
|
|
"-9.615073655021452d-11" },
|
|
|
|
{ "6.7696956269187d-11", "4.1431488006404866d-21",
|
|
"6.769695627333016d-11" },
|
|
|
|
{ "-4.663397365185298d19", "0.9758464195927673d0",
|
|
"-4.663397365185298d19" },
|
|
|
|
{ "-4.77977261393851d19", "0.04145189313162445d0",
|
|
"-4.77977261393851d19" },
|
|
|
|
{ "7.195364554121596d19", "0.5169917736820715d0",
|
|
"7.195364554121596d19" },
|
|
|
|
{ "-7.766254779507882d19", "0.5919134938460356d0",
|
|
"-7.766254779507882d19" },
|
|
|
|
{ "-8.411122653901408d19", "-0.14463225181516137d0",
|
|
"-8.411122653901408d19" },
|
|
|
|
{ "-9.101920591747218d19", "0.23349918704239836d0",
|
|
"-9.101920591747218d19" },
|
|
|
|
{ "7.037477746142529d18", "-3.250947575909365d9",
|
|
"7.037477742891581d18" },
|
|
|
|
{ "-6.864341752972099d19", "-4.0510449339565725d9",
|
|
"-6.864341753377203d19" },
|
|
|
|
{ "-5.329540273290228d19", "8.14869777458878d9",
|
|
"-5.329540272475358d19" },
|
|
|
|
{ "-9.726234388247201d19", "2.053976989398215d9",
|
|
"-9.726234388041803d19" },
|
|
|
|
{ "-1.910324088450308d19", "6.247052535748024d9",
|
|
"-1.910324087825603d19" },
|
|
|
|
{ "-6.079933001949367d18", "6.316829148809886d9",
|
|
"-6.079932995632539d18" },
|
|
|
|
{ "-4.499107911798452d19", "9.659763881732633d-11",
|
|
"-4.499107911798452d19" },
|
|
|
|
{ "-3.0972208018542522d19", "-9.077209886078653d-11",
|
|
"-3.0972208018542522d19" },
|
|
|
|
{ "-2.3000547840875442d19", "-3.2043634522621155d-11",
|
|
"-2.3000547840875442d19" },
|
|
|
|
{ "2.124555308489292d19", "2.252166800652451d-11",
|
|
"2.124555308489292d19" },
|
|
|
|
{ "-7.74280238703686d19", "1.7289553748884322d-11",
|
|
"-7.74280238703686d19" },
|
|
|
|
{ "-8.119446783121816d19", "-4.3461802389685114d-11",
|
|
"-8.119446783121816d19" },
|
|
|
|
{ "-4.70848534032654d18", "-4.698316648967506d19",
|
|
"-5.169165183000161d19" },
|
|
|
|
{ "2.853799842810312d19", "-5.56805968603395d19",
|
|
"-2.7142598432236384d19" },
|
|
|
|
{ "-2.9128622996090335d19", "-5.153369106520702d19",
|
|
"-8.066231406129735d19" },
|
|
|
|
{ "-5.415993984772977d19", "4.481932558278175d19",
|
|
"-9.340614264948015d18" },
|
|
|
|
{ "-1.4652301908531261d19", "7.89284449966826d19",
|
|
"6.427614308815133d19" },
|
|
|
|
{ "-8.241911630479252d19", "5.377001886877124d19",
|
|
"-2.8649097436021277d19" },
|
|
|
|
{ "-6.923631123395076d19", "7.100129853298664d-22",
|
|
"-6.923631123395076d19" },
|
|
|
|
{ "-5.864213410820717d19", "-2.649878514627326d-21",
|
|
"-5.864213410820717d19" },
|
|
|
|
{ "8.660575002861176d19", "2.751926085897399d-21",
|
|
"8.660575002861176d19" },
|
|
|
|
{ "-3.0252871646631318d19", "6.852831573716124d-21",
|
|
"-3.0252871646631318d19" },
|
|
|
|
{ "-9.155476807340938d19", "-5.552907466957205d-21",
|
|
"-9.155476807340938d19" },
|
|
|
|
{ "-4.03382621358461d19", "6.670808279457885d-21",
|
|
"-4.03382621358461d19" },
|
|
|
|
{ "8.842980509187577d-21", "0.5028466982188534d0",
|
|
"0.5028466982188534d0" },
|
|
|
|
{ "1.7292043381396136d-21", "0.19490424064972922d0",
|
|
"0.19490424064972922d0" },
|
|
|
|
{ "-5.854820918836103d-21", "-0.6700030154364615d0",
|
|
"-0.6700030154364615d0" },
|
|
|
|
{ "-2.152396491682048d-21", "0.5002930268902921d0",
|
|
"0.5002930268902921d0" },
|
|
|
|
{ "-1.0897149666610629d-21", "0.16555534170490604d0",
|
|
"0.16555534170490604d0" },
|
|
|
|
{ "6.321421497987867d-24", "-0.08008112131564671d0",
|
|
"-0.08008112131564671d0" },
|
|
|
|
{ "-6.1552667309563055d-21", "7.235074489769488d9",
|
|
"7.235074489769488d9" },
|
|
|
|
{ "-2.2311335001219955d-22", "1.220011008333989d9",
|
|
"1.220011008333989d9" },
|
|
|
|
{ "8.523565724937177d-23", "-4.1650242034123087d9",
|
|
"-4.1650242034123087d9" },
|
|
|
|
{ "-2.4400041303825447d-21", "4.435554678685388d9",
|
|
"4.435554678685388d9" },
|
|
|
|
{ "-3.4479065449345757d-22", "8.491084033112451d8",
|
|
"8.491084033112451d8" },
|
|
|
|
{ "-7.919939059912893d-21", "-7.610637842585286d9",
|
|
"-7.610637842585286d9" },
|
|
|
|
{ "4.4958602369105625d-21", "5.758376768873417d-11",
|
|
"5.7583767693230034d-11" },
|
|
|
|
{ "2.4375297386412195d-21", "9.417086717671841d-11",
|
|
"9.417086717915595d-11" },
|
|
|
|
{ "1.0040647133383462d-21", "3.4701016271268983d-12",
|
|
"3.470101628130963d-12" },
|
|
|
|
{ "-3.885093055726793d-21", "-8.523534862249969d-11",
|
|
"-8.523534862638479d-11" },
|
|
|
|
{ "1.027951323422187d-21", "-7.65508060829868d-11",
|
|
"-7.655080608195885d-11" },
|
|
|
|
{ "-9.83813940552434d-21", "-5.048380063082019d-11",
|
|
"-5.0483800640658324d-11" },
|
|
|
|
{ "-7.640856498925806d-21", "-5.743808556015994d19",
|
|
"-5.743808556015994d19" },
|
|
|
|
{ "8.053891045717591d-21", "4.0840032650134725d19",
|
|
"4.0840032650134725d19" },
|
|
|
|
{ "-4.794782783871528d-21", "-3.431216587740782d18",
|
|
"-3.431216587740782d18" },
|
|
|
|
{ "1.860870988390988d-21", "-3.757945694933625d19",
|
|
"-3.757945694933625d19" },
|
|
|
|
{ "5.445498222566789d-21", "7.575823566817991d19",
|
|
"7.575823566817991d19" },
|
|
|
|
{ "2.631896745307223d-21", "4.906449817201212d19",
|
|
"4.906449817201212d19" },
|
|
|
|
{ "-6.61689881073516d-21", "5.357007670385275d-21",
|
|
"-1.2598911403498852d-21" },
|
|
|
|
{ "3.0173001109587537d-21", "5.2947222461350496d-21",
|
|
"8.312022357093803d-21" },
|
|
|
|
{ "-8.792518441030627d-21", "-1.0516787854168774d-21",
|
|
"-9.844197226447504d-21" },
|
|
|
|
{ "7.349451992884509d-21", "-8.427997362671486d-21",
|
|
"-1.0785453697869767d-21" },
|
|
|
|
{ "-7.881179611953633d-21", "3.2080446524364824d-21",
|
|
"-4.6731349595171506d-21" },
|
|
|
|
{ "-9.614117725927607d-21", "-5.35667712698602d-21",
|
|
"-1.4970794852913628d-20" },
|
|
|
|
};
|