./Ultimate.py --spec ../../sv-benchmarks/c/properties/unreach-call.prp --file ../../sv-benchmarks/c/float-newlib/double_req_bl_1210_false-unreach-call.c --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for ERROR reachability Using default analysis Version aa418289 Calling Ultimate with: java -Dosgi.configuration.area=/tmp/vcloud-vcloud-master/worker/working_dir_06be7cd3-bc7e-415f-b0bf-44be4a922df1/bin-2019/uautomizer/data/config -Xmx12G -Xms1G -jar /tmp/vcloud-vcloud-master/worker/working_dir_06be7cd3-bc7e-415f-b0bf-44be4a922df1/bin-2019/uautomizer/plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar -data @noDefault -ultimatedata /tmp/vcloud-vcloud-master/worker/working_dir_06be7cd3-bc7e-415f-b0bf-44be4a922df1/bin-2019/uautomizer/data -tc /tmp/vcloud-vcloud-master/worker/working_dir_06be7cd3-bc7e-415f-b0bf-44be4a922df1/bin-2019/uautomizer/config/AutomizerReach.xml -i ../../sv-benchmarks/c/float-newlib/double_req_bl_1210_false-unreach-call.c -s /tmp/vcloud-vcloud-master/worker/working_dir_06be7cd3-bc7e-415f-b0bf-44be4a922df1/bin-2019/uautomizer/config/svcomp-Reach-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud-vcloud-master/worker/working_dir_06be7cd3-bc7e-415f-b0bf-44be4a922df1/bin-2019/uautomizer --witnessprinter.witness.filename witness.graphml --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G ! call(__VERIFIER_error())) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 4632d05eeeec8083fb0c38c2d70eb822a2624ecb ............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................. Execution finished normally Using bit-precise analysis Retrying with bit-precise analysis Calling Ultimate with: java -Dosgi.configuration.area=/tmp/vcloud-vcloud-master/worker/working_dir_06be7cd3-bc7e-415f-b0bf-44be4a922df1/bin-2019/uautomizer/data/config -Xmx12G -Xms1G -jar /tmp/vcloud-vcloud-master/worker/working_dir_06be7cd3-bc7e-415f-b0bf-44be4a922df1/bin-2019/uautomizer/plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar -data @noDefault -ultimatedata /tmp/vcloud-vcloud-master/worker/working_dir_06be7cd3-bc7e-415f-b0bf-44be4a922df1/bin-2019/uautomizer/data -tc /tmp/vcloud-vcloud-master/worker/working_dir_06be7cd3-bc7e-415f-b0bf-44be4a922df1/bin-2019/uautomizer/config/AutomizerReach.xml -i ../../sv-benchmarks/c/float-newlib/double_req_bl_1210_false-unreach-call.c -s /tmp/vcloud-vcloud-master/worker/working_dir_06be7cd3-bc7e-415f-b0bf-44be4a922df1/bin-2019/uautomizer/config/svcomp-Reach-32bit-Automizer_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud-vcloud-master/worker/working_dir_06be7cd3-bc7e-415f-b0bf-44be4a922df1/bin-2019/uautomizer --witnessprinter.witness.filename witness.graphml --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G ! call(__VERIFIER_error())) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 4632d05eeeec8083fb0c38c2d70eb822a2624ecb ........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ Execution finished normally Writing output log to file Ultimate.log Writing human readable error path to file UltimateCounterExample.errorpath Result: FALSE --- Real Ultimate output --- This is Ultimate 0.1.23-aa41828 [2018-11-23 02:30:56,913 INFO L170 SettingsManager]: Resetting all preferences to default values... [2018-11-23 02:30:56,914 INFO L174 SettingsManager]: Resetting UltimateCore preferences to default values [2018-11-23 02:30:56,924 INFO L177 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2018-11-23 02:30:56,925 INFO L174 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2018-11-23 02:30:56,925 INFO L174 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2018-11-23 02:30:56,926 INFO L174 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2018-11-23 02:30:56,928 INFO L174 SettingsManager]: Resetting LassoRanker preferences to default values [2018-11-23 02:30:56,929 INFO L174 SettingsManager]: Resetting Reaching Definitions preferences to default values [2018-11-23 02:30:56,930 INFO L174 SettingsManager]: Resetting SyntaxChecker preferences to default values [2018-11-23 02:30:56,931 INFO L177 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2018-11-23 02:30:56,931 INFO L174 SettingsManager]: Resetting LTL2Aut preferences to default values [2018-11-23 02:30:56,932 INFO L174 SettingsManager]: Resetting PEA to Boogie preferences to default values [2018-11-23 02:30:56,933 INFO L174 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2018-11-23 02:30:56,933 INFO L174 SettingsManager]: Resetting ChcToBoogie preferences to default values [2018-11-23 02:30:56,934 INFO L174 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2018-11-23 02:30:56,935 INFO L174 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2018-11-23 02:30:56,936 INFO L174 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2018-11-23 02:30:56,938 INFO L174 SettingsManager]: Resetting CodeCheck preferences to default values [2018-11-23 02:30:56,939 INFO L174 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2018-11-23 02:30:56,940 INFO L174 SettingsManager]: Resetting RCFGBuilder preferences to default values [2018-11-23 02:30:56,941 INFO L174 SettingsManager]: Resetting TraceAbstraction preferences to default values [2018-11-23 02:30:56,943 INFO L177 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2018-11-23 02:30:56,943 INFO L177 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2018-11-23 02:30:56,943 INFO L174 SettingsManager]: Resetting TreeAutomizer preferences to default values [2018-11-23 02:30:56,944 INFO L174 SettingsManager]: Resetting IcfgTransformer preferences to default values [2018-11-23 02:30:56,945 INFO L174 SettingsManager]: Resetting Boogie Printer preferences to default values [2018-11-23 02:30:56,946 INFO L174 SettingsManager]: Resetting ReqPrinter preferences to default values [2018-11-23 02:30:56,946 INFO L174 SettingsManager]: Resetting Witness Printer preferences to default values [2018-11-23 02:30:56,947 INFO L177 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2018-11-23 02:30:56,947 INFO L174 SettingsManager]: Resetting CDTParser preferences to default values [2018-11-23 02:30:56,948 INFO L177 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2018-11-23 02:30:56,948 INFO L177 SettingsManager]: ReqParser provides no preferences, ignoring... [2018-11-23 02:30:56,948 INFO L174 SettingsManager]: Resetting SmtParser preferences to default values [2018-11-23 02:30:56,949 INFO L174 SettingsManager]: Resetting Witness Parser preferences to default values [2018-11-23 02:30:56,949 INFO L181 SettingsManager]: Finished resetting all preferences to default values... [2018-11-23 02:30:56,950 INFO L98 SettingsManager]: Beginning loading settings from /tmp/vcloud-vcloud-master/worker/working_dir_06be7cd3-bc7e-415f-b0bf-44be4a922df1/bin-2019/uautomizer/config/svcomp-Reach-32bit-Automizer_Default.epf [2018-11-23 02:30:56,960 INFO L110 SettingsManager]: Loading preferences was successful [2018-11-23 02:30:56,961 INFO L112 SettingsManager]: Preferences different from defaults after loading the file: [2018-11-23 02:30:56,961 INFO L131 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2018-11-23 02:30:56,962 INFO L133 SettingsManager]: * ... calls to implemented procedures=ONLY_FOR_CONCURRENT_PROGRAMS [2018-11-23 02:30:56,962 INFO L131 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2018-11-23 02:30:56,962 INFO L133 SettingsManager]: * Create parallel compositions if possible=false [2018-11-23 02:30:56,963 INFO L133 SettingsManager]: * Use SBE=true [2018-11-23 02:30:56,963 INFO L131 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2018-11-23 02:30:56,963 INFO L133 SettingsManager]: * sizeof long=4 [2018-11-23 02:30:56,963 INFO L133 SettingsManager]: * Overapproximate operations on floating types=true [2018-11-23 02:30:56,963 INFO L133 SettingsManager]: * sizeof POINTER=4 [2018-11-23 02:30:56,963 INFO L133 SettingsManager]: * Check division by zero=IGNORE [2018-11-23 02:30:56,964 INFO L133 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2018-11-23 02:30:56,964 INFO L133 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2018-11-23 02:30:56,964 INFO L133 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2018-11-23 02:30:56,964 INFO L133 SettingsManager]: * sizeof long double=12 [2018-11-23 02:30:56,964 INFO L133 SettingsManager]: * Check if freed pointer was valid=false [2018-11-23 02:30:56,964 INFO L133 SettingsManager]: * Use constant arrays=true [2018-11-23 02:30:56,965 INFO L133 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2018-11-23 02:30:56,965 INFO L131 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2018-11-23 02:30:56,965 INFO L133 SettingsManager]: * Size of a code block=SequenceOfStatements [2018-11-23 02:30:56,965 INFO L133 SettingsManager]: * To the following directory=./dump/ [2018-11-23 02:30:56,965 INFO L133 SettingsManager]: * SMT solver=External_DefaultMode [2018-11-23 02:30:56,965 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2018-11-23 02:30:56,966 INFO L131 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2018-11-23 02:30:56,966 INFO L133 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2018-11-23 02:30:56,966 INFO L133 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2018-11-23 02:30:56,966 INFO L133 SettingsManager]: * Trace refinement strategy=CAMEL [2018-11-23 02:30:56,966 INFO L133 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2018-11-23 02:30:56,967 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2018-11-23 02:30:56,967 INFO L133 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /tmp/vcloud-vcloud-master/worker/working_dir_06be7cd3-bc7e-415f-b0bf-44be4a922df1/bin-2019/uautomizer Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness.graphml Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G ! call(__VERIFIER_error())) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Automizer Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> 4632d05eeeec8083fb0c38c2d70eb822a2624ecb [2018-11-23 02:30:56,994 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2018-11-23 02:30:57,003 INFO L258 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2018-11-23 02:30:57,006 INFO L214 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2018-11-23 02:30:57,007 INFO L271 PluginConnector]: Initializing CDTParser... [2018-11-23 02:30:57,007 INFO L276 PluginConnector]: CDTParser initialized [2018-11-23 02:30:57,008 INFO L418 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud-vcloud-master/worker/working_dir_06be7cd3-bc7e-415f-b0bf-44be4a922df1/bin-2019/uautomizer/../../sv-benchmarks/c/float-newlib/double_req_bl_1210_false-unreach-call.c [2018-11-23 02:30:57,048 INFO L221 CDTParser]: Created temporary CDT project at /tmp/vcloud-vcloud-master/worker/working_dir_06be7cd3-bc7e-415f-b0bf-44be4a922df1/bin-2019/uautomizer/data/c2c67b5cb/17351fc10cca44ce9d18d5bbaa4ad4d3/FLAG6914b6f40 [2018-11-23 02:30:57,364 INFO L307 CDTParser]: Found 1 translation units. [2018-11-23 02:30:57,365 INFO L161 CDTParser]: Scanning /tmp/vcloud-vcloud-master/worker/working_dir_06be7cd3-bc7e-415f-b0bf-44be4a922df1/sv-benchmarks/c/float-newlib/double_req_bl_1210_false-unreach-call.c [2018-11-23 02:30:57,369 INFO L355 CDTParser]: About to delete temporary CDT project at /tmp/vcloud-vcloud-master/worker/working_dir_06be7cd3-bc7e-415f-b0bf-44be4a922df1/bin-2019/uautomizer/data/c2c67b5cb/17351fc10cca44ce9d18d5bbaa4ad4d3/FLAG6914b6f40 [2018-11-23 02:30:57,379 INFO L363 CDTParser]: Successfully deleted /tmp/vcloud-vcloud-master/worker/working_dir_06be7cd3-bc7e-415f-b0bf-44be4a922df1/bin-2019/uautomizer/data/c2c67b5cb/17351fc10cca44ce9d18d5bbaa4ad4d3 [2018-11-23 02:30:57,381 INFO L296 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2018-11-23 02:30:57,382 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2018-11-23 02:30:57,382 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2018-11-23 02:30:57,382 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2018-11-23 02:30:57,385 INFO L276 PluginConnector]: CACSL2BoogieTranslator initialized [2018-11-23 02:30:57,386 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 02:30:57" (1/1) ... [2018-11-23 02:30:57,388 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@5b1325b2 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 02:30:57, skipping insertion in model container [2018-11-23 02:30:57,388 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 02:30:57" (1/1) ... [2018-11-23 02:30:57,395 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2018-11-23 02:30:57,412 INFO L176 MainTranslator]: Built tables and reachable declarations [2018-11-23 02:30:57,536 INFO L201 PostProcessor]: Analyzing one entry point: main [2018-11-23 02:30:57,543 INFO L191 MainTranslator]: Completed pre-run [2018-11-23 02:30:57,564 INFO L201 PostProcessor]: Analyzing one entry point: main [2018-11-23 02:30:57,573 INFO L195 MainTranslator]: Completed translation [2018-11-23 02:30:57,574 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 02:30:57 WrapperNode [2018-11-23 02:30:57,574 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2018-11-23 02:30:57,574 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2018-11-23 02:30:57,574 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2018-11-23 02:30:57,574 INFO L276 PluginConnector]: Boogie Procedure Inliner initialized [2018-11-23 02:30:57,582 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 02:30:57" (1/1) ... [2018-11-23 02:30:57,592 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 02:30:57" (1/1) ... [2018-11-23 02:30:57,639 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2018-11-23 02:30:57,639 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2018-11-23 02:30:57,639 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2018-11-23 02:30:57,639 INFO L276 PluginConnector]: Boogie Preprocessor initialized [2018-11-23 02:30:57,647 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 02:30:57" (1/1) ... [2018-11-23 02:30:57,647 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 02:30:57" (1/1) ... [2018-11-23 02:30:57,649 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 02:30:57" (1/1) ... [2018-11-23 02:30:57,650 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 02:30:57" (1/1) ... [2018-11-23 02:30:57,665 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 02:30:57" (1/1) ... [2018-11-23 02:30:57,672 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 02:30:57" (1/1) ... [2018-11-23 02:30:57,674 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 02:30:57" (1/1) ... [2018-11-23 02:30:57,677 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2018-11-23 02:30:57,677 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2018-11-23 02:30:57,677 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2018-11-23 02:30:57,677 INFO L276 PluginConnector]: RCFGBuilder initialized [2018-11-23 02:30:57,678 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 02:30:57" (1/1) ... No working directory specified, using /tmp/vcloud-vcloud-master/worker/working_dir_06be7cd3-bc7e-415f-b0bf-44be4a922df1/bin-2019/uautomizer/z3 Starting monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2018-11-23 02:30:57,721 INFO L130 BoogieDeclarations]: Found specification of procedure read~real [2018-11-23 02:30:57,721 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2018-11-23 02:30:57,721 INFO L130 BoogieDeclarations]: Found specification of procedure isnan_double [2018-11-23 02:30:57,721 INFO L138 BoogieDeclarations]: Found implementation of procedure isnan_double [2018-11-23 02:30:57,722 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.init [2018-11-23 02:30:57,722 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.init [2018-11-23 02:30:57,722 INFO L130 BoogieDeclarations]: Found specification of procedure write~real [2018-11-23 02:30:57,722 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.alloc [2018-11-23 02:30:57,722 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2018-11-23 02:30:57,722 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2018-11-23 02:30:57,722 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2018-11-23 02:30:57,722 INFO L130 BoogieDeclarations]: Found specification of procedure main [2018-11-23 02:30:57,723 INFO L138 BoogieDeclarations]: Found implementation of procedure main [2018-11-23 02:30:57,723 INFO L130 BoogieDeclarations]: Found specification of procedure modf_double [2018-11-23 02:30:57,723 INFO L138 BoogieDeclarations]: Found implementation of procedure modf_double [2018-11-23 02:30:57,723 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2018-11-23 02:30:58,101 INFO L275 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2018-11-23 02:30:58,101 INFO L280 CfgBuilder]: Removed 20 assue(true) statements. [2018-11-23 02:30:58,102 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 02:30:58 BoogieIcfgContainer [2018-11-23 02:30:58,102 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2018-11-23 02:30:58,103 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2018-11-23 02:30:58,103 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2018-11-23 02:30:58,105 INFO L276 PluginConnector]: TraceAbstraction initialized [2018-11-23 02:30:58,105 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 23.11 02:30:57" (1/3) ... [2018-11-23 02:30:58,106 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@7d8c430d and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 23.11 02:30:58, skipping insertion in model container [2018-11-23 02:30:58,106 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 02:30:57" (2/3) ... [2018-11-23 02:30:58,107 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@7d8c430d and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 23.11 02:30:58, skipping insertion in model container [2018-11-23 02:30:58,107 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 02:30:58" (3/3) ... [2018-11-23 02:30:58,108 INFO L112 eAbstractionObserver]: Analyzing ICFG double_req_bl_1210_false-unreach-call.c [2018-11-23 02:30:58,115 INFO L156 ceAbstractionStarter]: Automizer settings: Hoare:true NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2018-11-23 02:30:58,121 INFO L168 ceAbstractionStarter]: Appying trace abstraction to program that has 1 error locations. [2018-11-23 02:30:58,133 INFO L257 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2018-11-23 02:30:58,158 INFO L133 ementStrategyFactory]: Using default assertion order modulation [2018-11-23 02:30:58,159 INFO L382 AbstractCegarLoop]: Interprodecural is true [2018-11-23 02:30:58,159 INFO L383 AbstractCegarLoop]: Hoare is true [2018-11-23 02:30:58,159 INFO L384 AbstractCegarLoop]: Compute interpolants for FPandBP [2018-11-23 02:30:58,159 INFO L385 AbstractCegarLoop]: Backedges is STRAIGHT_LINE [2018-11-23 02:30:58,159 INFO L386 AbstractCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2018-11-23 02:30:58,159 INFO L387 AbstractCegarLoop]: Difference is false [2018-11-23 02:30:58,159 INFO L388 AbstractCegarLoop]: Minimize is MINIMIZE_SEVPA [2018-11-23 02:30:58,160 INFO L393 AbstractCegarLoop]: ======== Iteration 0==of CEGAR loop == AllErrorsAtOnce======== [2018-11-23 02:30:58,175 INFO L276 IsEmpty]: Start isEmpty. Operand 58 states. [2018-11-23 02:30:58,181 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 26 [2018-11-23 02:30:58,181 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 02:30:58,182 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 02:30:58,184 INFO L423 AbstractCegarLoop]: === Iteration 1 === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 02:30:58,188 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 02:30:58,189 INFO L82 PathProgramCache]: Analyzing trace with hash 204549601, now seen corresponding path program 1 times [2018-11-23 02:30:58,190 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 02:30:58,190 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 02:30:58,226 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 02:30:58,226 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 02:30:58,226 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 02:30:58,263 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 02:30:58,294 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 02:30:58,297 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-23 02:30:58,297 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2018-11-23 02:30:58,300 INFO L459 AbstractCegarLoop]: Interpolant automaton has 2 states [2018-11-23 02:30:58,308 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2018-11-23 02:30:58,309 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2018-11-23 02:30:58,311 INFO L87 Difference]: Start difference. First operand 58 states. Second operand 2 states. [2018-11-23 02:30:58,330 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 02:30:58,331 INFO L93 Difference]: Finished difference Result 108 states and 162 transitions. [2018-11-23 02:30:58,331 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2018-11-23 02:30:58,332 INFO L78 Accepts]: Start accepts. Automaton has 2 states. Word has length 25 [2018-11-23 02:30:58,332 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 02:30:58,339 INFO L225 Difference]: With dead ends: 108 [2018-11-23 02:30:58,340 INFO L226 Difference]: Without dead ends: 54 [2018-11-23 02:30:58,343 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 2 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 0 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2018-11-23 02:30:58,355 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 54 states. [2018-11-23 02:30:58,372 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 54 to 54. [2018-11-23 02:30:58,373 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 54 states. [2018-11-23 02:30:58,374 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 54 states to 54 states and 60 transitions. [2018-11-23 02:30:58,376 INFO L78 Accepts]: Start accepts. Automaton has 54 states and 60 transitions. Word has length 25 [2018-11-23 02:30:58,376 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 02:30:58,376 INFO L480 AbstractCegarLoop]: Abstraction has 54 states and 60 transitions. [2018-11-23 02:30:58,376 INFO L481 AbstractCegarLoop]: Interpolant automaton has 2 states. [2018-11-23 02:30:58,376 INFO L276 IsEmpty]: Start isEmpty. Operand 54 states and 60 transitions. [2018-11-23 02:30:58,378 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 28 [2018-11-23 02:30:58,378 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 02:30:58,378 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 02:30:58,379 INFO L423 AbstractCegarLoop]: === Iteration 2 === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 02:30:58,379 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 02:30:58,379 INFO L82 PathProgramCache]: Analyzing trace with hash 1987482264, now seen corresponding path program 1 times [2018-11-23 02:30:58,379 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 02:30:58,379 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 02:30:58,380 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 02:30:58,380 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 02:30:58,380 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 02:30:58,406 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 02:30:58,448 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 02:30:58,448 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-23 02:30:58,448 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2018-11-23 02:30:58,449 INFO L459 AbstractCegarLoop]: Interpolant automaton has 3 states [2018-11-23 02:30:58,450 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2018-11-23 02:30:58,450 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2018-11-23 02:30:58,450 INFO L87 Difference]: Start difference. First operand 54 states and 60 transitions. Second operand 3 states. [2018-11-23 02:30:58,467 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 02:30:58,467 INFO L93 Difference]: Finished difference Result 57 states and 62 transitions. [2018-11-23 02:30:58,468 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2018-11-23 02:30:58,468 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 27 [2018-11-23 02:30:58,468 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 02:30:58,469 INFO L225 Difference]: With dead ends: 57 [2018-11-23 02:30:58,469 INFO L226 Difference]: Without dead ends: 54 [2018-11-23 02:30:58,469 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 3 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2018-11-23 02:30:58,470 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 54 states. [2018-11-23 02:30:58,474 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 54 to 54. [2018-11-23 02:30:58,474 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 54 states. [2018-11-23 02:30:58,475 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 54 states to 54 states and 59 transitions. [2018-11-23 02:30:58,475 INFO L78 Accepts]: Start accepts. Automaton has 54 states and 59 transitions. Word has length 27 [2018-11-23 02:30:58,476 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 02:30:58,477 INFO L480 AbstractCegarLoop]: Abstraction has 54 states and 59 transitions. [2018-11-23 02:30:58,477 INFO L481 AbstractCegarLoop]: Interpolant automaton has 3 states. [2018-11-23 02:30:58,477 INFO L276 IsEmpty]: Start isEmpty. Operand 54 states and 59 transitions. [2018-11-23 02:30:58,477 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 33 [2018-11-23 02:30:58,478 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 02:30:58,478 INFO L402 BasicCegarLoop]: trace histogram [2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 02:30:58,478 INFO L423 AbstractCegarLoop]: === Iteration 3 === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 02:30:58,478 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 02:30:58,478 INFO L82 PathProgramCache]: Analyzing trace with hash 1590755806, now seen corresponding path program 1 times [2018-11-23 02:30:58,478 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 02:30:58,479 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 02:30:58,479 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 02:30:58,479 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 02:30:58,480 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 02:30:58,510 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 02:30:58,532 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 02:30:58,552 INFO L469 BasicCegarLoop]: Counterexample might be feasible ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.RCFGBacktranslator [?] CALL call ULTIMATE.init(); VAL [|#NULL.base|=10737418249, |#NULL.offset|=10737418243, |old(#NULL.base)|=10737418249, |old(#NULL.offset)|=10737418243, |old(~one_modf~0)|=10737418246.0, ~one_modf~0=10737418246.0] [?] #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];~one_modf~0 := 1.0; VAL [|#NULL.base|=0, |#NULL.offset|=0, |old(#NULL.base)|=10737418249, |old(#NULL.offset)|=10737418243, |old(~one_modf~0)|=10737418246.0, ~one_modf~0=1.0] [?] assume true; VAL [|#NULL.base|=0, |#NULL.offset|=0, |old(#NULL.base)|=10737418249, |old(#NULL.offset)|=10737418243, |old(~one_modf~0)|=10737418246.0, ~one_modf~0=1.0] [?] RET #174#return; VAL [|#NULL.base|=0, |#NULL.offset|=0, ~one_modf~0=1.0] [?] CALL call #t~ret26 := main(); VAL [|#NULL.base|=0, |#NULL.offset|=0, ~one_modf~0=1.0] [?] ~x~0 := ~someBinaryArithmeticDOUBLEoperation(0.0, 0.0);call ~#iptr~0.base, ~#iptr~0.offset := #Ultimate.alloc(8); VAL [|#NULL.base|=0, |#NULL.offset|=0, |main_~#iptr~0.base|=10737418250, |main_~#iptr~0.offset|=0, ~one_modf~0=1.0] [?] CALL call #t~ret21 := modf_double(~x~0, ~#iptr~0.base, ~#iptr~0.offset); VAL [|#NULL.base|=0, |#NULL.offset|=0, |modf_double_#in~iptr.base|=10737418250, |modf_double_#in~iptr.offset|=0, |modf_double_#in~x|=10737418254.0, ~one_modf~0=1.0] [?] ~x := #in~x;~iptr.base, ~iptr.offset := #in~iptr.base, #in~iptr.offset;havoc ~i0~0;havoc ~i1~0;havoc ~j0~0;havoc ~i~0; VAL [modf_double_~iptr.base=10737418250, modf_double_~iptr.offset=0, modf_double_~x=10737418254.0, |#NULL.base|=0, |#NULL.offset|=0, |modf_double_#in~iptr.base|=10737418250, |modf_double_#in~iptr.offset|=0, |modf_double_#in~x|=10737418254.0, ~one_modf~0=1.0] [?] call ~#ew_u~0.base, ~#ew_u~0.offset := #Ultimate.alloc(8);call write~real(~x, ~#ew_u~0.base, ~#ew_u~0.offset, 8);call #t~mem0 := read~int(~#ew_u~0.base, 4 + ~#ew_u~0.offset, 4);~i0~0 := (if #t~mem0 % 4294967296 % 4294967296 <= 2147483647 then #t~mem0 % 4294967296 % 4294967296 else #t~mem0 % 4294967296 % 4294967296 - 4294967296);call write~real(#t~union1, ~#ew_u~0.base, ~#ew_u~0.offset, 8);havoc #t~union1;havoc #t~mem0;call #t~mem2 := read~int(~#ew_u~0.base, ~#ew_u~0.offset, 4);~i1~0 := (if #t~mem2 % 4294967296 % 4294967296 <= 2147483647 then #t~mem2 % 4294967296 % 4294967296 else #t~mem2 % 4294967296 % 4294967296 - 4294967296);call write~real(#t~union3, ~#ew_u~0.base, ~#ew_u~0.offset, 8);havoc #t~mem2;havoc #t~union3;call ULTIMATE.dealloc(~#ew_u~0.base, ~#ew_u~0.offset);havoc ~#ew_u~0.base, ~#ew_u~0.offset; VAL [modf_double_~i0~0=(- 2147483648), modf_double_~i1~0=(- 2147483648), modf_double_~iptr.base=10737418250, modf_double_~iptr.offset=0, modf_double_~x=10737418254.0, |#NULL.base|=0, |#NULL.offset|=0, |modf_double_#in~iptr.base|=10737418250, |modf_double_#in~iptr.offset|=0, |modf_double_#in~x|=10737418254.0, ~one_modf~0=1.0] [?] goto; VAL [modf_double_~i0~0=(- 2147483648), modf_double_~i1~0=(- 2147483648), modf_double_~iptr.base=10737418250, modf_double_~iptr.offset=0, modf_double_~x=10737418254.0, |#NULL.base|=0, |#NULL.offset|=0, |modf_double_#in~iptr.base|=10737418250, |modf_double_#in~iptr.offset|=0, |modf_double_#in~x|=10737418254.0, ~one_modf~0=1.0] [?] ~j0~0 := ~bitwiseAnd(~i0~0 / 1048576, 2047) - 1023; VAL [modf_double_~i0~0=(- 2147483648), modf_double_~i1~0=(- 2147483648), modf_double_~iptr.base=10737418250, modf_double_~iptr.offset=0, modf_double_~x=10737418254.0, |#NULL.base|=0, |#NULL.offset|=0, |modf_double_#in~iptr.base|=10737418250, |modf_double_#in~iptr.offset|=0, |modf_double_#in~x|=10737418254.0, ~one_modf~0=1.0] [?] assume ~j0~0 < 20; VAL [modf_double_~i0~0=(- 2147483648), modf_double_~i1~0=(- 2147483648), modf_double_~iptr.base=10737418250, modf_double_~iptr.offset=0, modf_double_~j0~0=(- 1), modf_double_~x=10737418254.0, |#NULL.base|=0, |#NULL.offset|=0, |modf_double_#in~iptr.base|=10737418250, |modf_double_#in~iptr.offset|=0, |modf_double_#in~x|=10737418254.0, ~one_modf~0=1.0] [?] assume ~j0~0 < 0; VAL [modf_double_~i0~0=(- 2147483648), modf_double_~i1~0=(- 2147483648), modf_double_~iptr.base=10737418250, modf_double_~iptr.offset=0, modf_double_~j0~0=(- 1), modf_double_~x=10737418254.0, |#NULL.base|=0, |#NULL.offset|=0, |modf_double_#in~iptr.base|=10737418250, |modf_double_#in~iptr.offset|=0, |modf_double_#in~x|=10737418254.0, ~one_modf~0=1.0] [?] call ~#iw_u~0.base, ~#iw_u~0.offset := #Ultimate.alloc(8);call write~int(~bitwiseAnd(~i0~0, 2147483648), ~#iw_u~0.base, 4 + ~#iw_u~0.offset, 4);call write~int(0, ~#iw_u~0.base, ~#iw_u~0.offset, 4);call #t~mem4 := read~real(~#iw_u~0.base, ~#iw_u~0.offset, 8);call write~real(#t~mem4, ~iptr.base, ~iptr.offset, 8);havoc #t~mem4;call ULTIMATE.dealloc(~#iw_u~0.base, ~#iw_u~0.offset);havoc ~#iw_u~0.base, ~#iw_u~0.offset; VAL [modf_double_~i0~0=(- 2147483648), modf_double_~i1~0=(- 2147483648), modf_double_~iptr.base=10737418250, modf_double_~iptr.offset=0, modf_double_~j0~0=(- 1), modf_double_~x=10737418254.0, |#NULL.base|=0, |#NULL.offset|=0, |modf_double_#in~iptr.base|=10737418250, |modf_double_#in~iptr.offset|=0, |modf_double_#in~x|=10737418254.0, ~one_modf~0=1.0] [?] goto; VAL [modf_double_~i0~0=(- 2147483648), modf_double_~i1~0=(- 2147483648), modf_double_~iptr.base=10737418250, modf_double_~iptr.offset=0, modf_double_~j0~0=(- 1), modf_double_~x=10737418254.0, |#NULL.base|=0, |#NULL.offset|=0, |modf_double_#in~iptr.base|=10737418250, |modf_double_#in~iptr.offset|=0, |modf_double_#in~x|=10737418254.0, ~one_modf~0=1.0] [?] #res := ~x; VAL [modf_double_~i0~0=(- 2147483648), modf_double_~i1~0=(- 2147483648), modf_double_~iptr.base=10737418250, modf_double_~iptr.offset=0, modf_double_~j0~0=(- 1), modf_double_~x=10737418254.0, |#NULL.base|=0, |#NULL.offset|=0, |modf_double_#in~iptr.base|=10737418250, |modf_double_#in~iptr.offset|=0, |modf_double_#in~x|=10737418254.0, |modf_double_#res|=10737418254.0, ~one_modf~0=1.0] [?] assume true; VAL [modf_double_~i0~0=(- 2147483648), modf_double_~i1~0=(- 2147483648), modf_double_~iptr.base=10737418250, modf_double_~iptr.offset=0, modf_double_~j0~0=(- 1), modf_double_~x=10737418254.0, |#NULL.base|=0, |#NULL.offset|=0, |modf_double_#in~iptr.base|=10737418250, |modf_double_#in~iptr.offset|=0, |modf_double_#in~x|=10737418254.0, |modf_double_#res|=10737418254.0, ~one_modf~0=1.0] [?] RET #178#return; VAL [main_~x~0=10737418254.0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~ret21|=10737418254.0, |main_~#iptr~0.base|=10737418250, |main_~#iptr~0.offset|=0, ~one_modf~0=1.0] [?] ~res~0 := #t~ret21;havoc #t~ret21;call #t~mem22 := read~real(~#iptr~0.base, ~#iptr~0.offset, 8); VAL [main_~res~0=10737418254.0, main_~x~0=10737418254.0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~mem22|=10737418242.0, |main_~#iptr~0.base|=10737418250, |main_~#iptr~0.offset|=0, ~one_modf~0=1.0] [?] CALL call #t~ret23 := isnan_double(#t~mem22); VAL [|#NULL.base|=0, |#NULL.offset|=0, |isnan_double_#in~x|=10737418242.0, ~one_modf~0=1.0] [?] ~x := #in~x;#res := (if ~someBinaryDOUBLEComparisonOperation(~x, ~x) then 1 else 0); VAL [isnan_double_~x=10737418242.0, |#NULL.base|=0, |#NULL.offset|=0, |isnan_double_#in~x|=10737418242.0, |isnan_double_#res|=1, ~one_modf~0=1.0] [?] assume true; VAL [isnan_double_~x=10737418242.0, |#NULL.base|=0, |#NULL.offset|=0, |isnan_double_#in~x|=10737418242.0, |isnan_double_#res|=1, ~one_modf~0=1.0] [?] RET #180#return; VAL [main_~res~0=10737418254.0, main_~x~0=10737418254.0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~mem22|=10737418242.0, |main_#t~ret23|=1, |main_~#iptr~0.base|=10737418250, |main_~#iptr~0.offset|=0, ~one_modf~0=1.0] [?] assume -2147483648 <= #t~ret23 && #t~ret23 <= 2147483647;#t~short25 := 0 != #t~ret23; VAL [main_~res~0=10737418254.0, main_~x~0=10737418254.0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~mem22|=10737418242.0, |main_#t~ret23|=1, |main_#t~short25|=true, |main_~#iptr~0.base|=10737418250, |main_~#iptr~0.offset|=0, ~one_modf~0=1.0] [?] assume #t~short25; VAL [main_~res~0=10737418254.0, main_~x~0=10737418254.0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~mem22|=10737418242.0, |main_#t~ret23|=1, |main_#t~short25|=true, |main_~#iptr~0.base|=10737418250, |main_~#iptr~0.offset|=0, ~one_modf~0=1.0] [?] CALL call #t~ret24 := isnan_double(~res~0); VAL [|#NULL.base|=0, |#NULL.offset|=0, |isnan_double_#in~x|=10737418254.0, ~one_modf~0=1.0] [?] ~x := #in~x;#res := (if ~someBinaryDOUBLEComparisonOperation(~x, ~x) then 1 else 0); VAL [isnan_double_~x=10737418254.0, |#NULL.base|=0, |#NULL.offset|=0, |isnan_double_#in~x|=10737418254.0, |isnan_double_#res|=0, ~one_modf~0=1.0] [?] assume true; VAL [isnan_double_~x=10737418254.0, |#NULL.base|=0, |#NULL.offset|=0, |isnan_double_#in~x|=10737418254.0, |isnan_double_#res|=0, ~one_modf~0=1.0] [?] RET #182#return; VAL [main_~res~0=10737418254.0, main_~x~0=10737418254.0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~mem22|=10737418242.0, |main_#t~ret23|=1, |main_#t~ret24|=0, |main_#t~short25|=true, |main_~#iptr~0.base|=10737418250, |main_~#iptr~0.offset|=0, ~one_modf~0=1.0] [?] assume -2147483648 <= #t~ret24 && #t~ret24 <= 2147483647;#t~short25 := 0 == #t~ret24; VAL [main_~res~0=10737418254.0, main_~x~0=10737418254.0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~mem22|=10737418242.0, |main_#t~ret23|=1, |main_#t~ret24|=0, |main_#t~short25|=true, |main_~#iptr~0.base|=10737418250, |main_~#iptr~0.offset|=0, ~one_modf~0=1.0] [?] assume #t~short25;havoc #t~ret23;havoc #t~short25;havoc #t~ret24;havoc #t~mem22; VAL [main_~res~0=10737418254.0, main_~x~0=10737418254.0, |#NULL.base|=0, |#NULL.offset|=0, |main_~#iptr~0.base|=10737418250, |main_~#iptr~0.offset|=0, ~one_modf~0=1.0] [?] assume !false; VAL [main_~res~0=10737418254.0, main_~x~0=10737418254.0, |#NULL.base|=0, |#NULL.offset|=0, |main_~#iptr~0.base|=10737418250, |main_~#iptr~0.offset|=0, ~one_modf~0=1.0] [?] CALL call ULTIMATE.init(); VAL [#NULL.base=10737418249, #NULL.offset=10737418243, old(#NULL.base)=10737418249, old(#NULL.offset)=10737418243, old(~one_modf~0)=1.0737418246E10, ~one_modf~0=1.0737418246E10] [?] #NULL.base, #NULL.offset := 0, 0; [?] #valid := #valid[0 := 0]; [L17] ~one_modf~0 := 1.0; VAL [#NULL.base=0, #NULL.offset=0, old(#NULL.base)=10737418249, old(#NULL.offset)=10737418243, old(~one_modf~0)=1.0737418246E10, ~one_modf~0=1.0] [?] ensures true; VAL [#NULL.base=0, #NULL.offset=0, old(#NULL.base)=10737418249, old(#NULL.offset)=10737418243, old(~one_modf~0)=1.0737418246E10, ~one_modf~0=1.0] [?] RET call ULTIMATE.init(); VAL [#NULL.base=0, #NULL.offset=0, ~one_modf~0=1.0] [?] CALL call #t~ret26 := main(); VAL [#NULL.base=0, #NULL.offset=0, ~one_modf~0=1.0] [L116] ~x~0 := ~someBinaryArithmeticDOUBLEoperation(0.0, 0.0); [L117] call ~#iptr~0.base, ~#iptr~0.offset := #Ultimate.alloc(8); VAL [#NULL.base=0, #NULL.offset=0, ~#iptr~0.base=10737418250, ~#iptr~0.offset=0, ~one_modf~0=1.0] [L118] CALL call #t~ret21 := modf_double(~x~0, ~#iptr~0.base, ~#iptr~0.offset); VAL [#in~iptr.base=10737418250, #in~iptr.offset=0, #in~x=1.0737418254E10, #NULL.base=0, #NULL.offset=0, ~one_modf~0=1.0] [L19-L107] ~x := #in~x; [L19-L107] ~iptr.base, ~iptr.offset := #in~iptr.base, #in~iptr.offset; [L20] havoc ~i0~0; [L20] havoc ~i1~0; [L20] havoc ~j0~0; [L21] havoc ~i~0; VAL [#in~iptr.base=10737418250, #in~iptr.offset=0, #in~x=1.0737418254E10, #NULL.base=0, #NULL.offset=0, ~iptr.base=10737418250, ~iptr.offset=0, ~one_modf~0=1.0, ~x=1.0737418254E10] [L23] call ~#ew_u~0.base, ~#ew_u~0.offset := #Ultimate.alloc(8); [L24] call write~real(~x, ~#ew_u~0.base, ~#ew_u~0.offset, 8); [L25] call #t~mem0 := read~int(~#ew_u~0.base, 4 + ~#ew_u~0.offset, 4); [L25] ~i0~0 := (if #t~mem0 % 4294967296 % 4294967296 <= 2147483647 then #t~mem0 % 4294967296 % 4294967296 else #t~mem0 % 4294967296 % 4294967296 - 4294967296); [L25] call write~real(#t~union1, ~#ew_u~0.base, ~#ew_u~0.offset, 8); [L25] havoc #t~union1; [L25] havoc #t~mem0; [L26] call #t~mem2 := read~int(~#ew_u~0.base, ~#ew_u~0.offset, 4); [L26] ~i1~0 := (if #t~mem2 % 4294967296 % 4294967296 <= 2147483647 then #t~mem2 % 4294967296 % 4294967296 else #t~mem2 % 4294967296 % 4294967296 - 4294967296); [L26] call write~real(#t~union3, ~#ew_u~0.base, ~#ew_u~0.offset, 8); [L26] havoc #t~mem2; [L26] havoc #t~union3; [L23] call ULTIMATE.dealloc(~#ew_u~0.base, ~#ew_u~0.offset); [L23] havoc ~#ew_u~0.base, ~#ew_u~0.offset; VAL [#in~iptr.base=10737418250, #in~iptr.offset=0, #in~x=1.0737418254E10, #NULL.base=0, #NULL.offset=0, ~i0~0=-2147483648, ~i1~0=-2147483648, ~iptr.base=10737418250, ~iptr.offset=0, ~one_modf~0=1.0, ~x=1.0737418254E10] [L28] ~j0~0 := ~bitwiseAnd(~i0~0 / 1048576, 2047) - 1023; VAL [#in~iptr.base=10737418250, #in~iptr.offset=0, #in~x=1.0737418254E10, #NULL.base=0, #NULL.offset=0, ~i0~0=-2147483648, ~i1~0=-2147483648, ~iptr.base=10737418250, ~iptr.offset=0, ~one_modf~0=1.0, ~x=1.0737418254E10] [L29-L106] assume ~j0~0 < 20; VAL [#in~iptr.base=10737418250, #in~iptr.offset=0, #in~x=1.0737418254E10, #NULL.base=0, #NULL.offset=0, ~i0~0=-2147483648, ~i1~0=-2147483648, ~iptr.base=10737418250, ~iptr.offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=1.0737418254E10] [L30-L64] assume ~j0~0 < 0; VAL [#in~iptr.base=10737418250, #in~iptr.offset=0, #in~x=1.0737418254E10, #NULL.base=0, #NULL.offset=0, ~i0~0=-2147483648, ~i1~0=-2147483648, ~iptr.base=10737418250, ~iptr.offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=1.0737418254E10] [L32] call ~#iw_u~0.base, ~#iw_u~0.offset := #Ultimate.alloc(8); [L33] call write~int(~bitwiseAnd(~i0~0, 2147483648), ~#iw_u~0.base, 4 + ~#iw_u~0.offset, 4); [L34] call write~int(0, ~#iw_u~0.base, ~#iw_u~0.offset, 4); [L35] call #t~mem4 := read~real(~#iw_u~0.base, ~#iw_u~0.offset, 8); [L35] call write~real(#t~mem4, ~iptr.base, ~iptr.offset, 8); [L35] havoc #t~mem4; [L32] call ULTIMATE.dealloc(~#iw_u~0.base, ~#iw_u~0.offset); [L32] havoc ~#iw_u~0.base, ~#iw_u~0.offset; VAL [#in~iptr.base=10737418250, #in~iptr.offset=0, #in~x=1.0737418254E10, #NULL.base=0, #NULL.offset=0, ~i0~0=-2147483648, ~i1~0=-2147483648, ~iptr.base=10737418250, ~iptr.offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=1.0737418254E10] [L37] #res := ~x; VAL [#in~iptr.base=10737418250, #in~iptr.offset=0, #in~x=1.0737418254E10, #NULL.base=0, #NULL.offset=0, #res=1.0737418254E10, ~i0~0=-2147483648, ~i1~0=-2147483648, ~iptr.base=10737418250, ~iptr.offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=1.0737418254E10] [L19-L107] ensures true; VAL [#in~iptr.base=10737418250, #in~iptr.offset=0, #in~x=1.0737418254E10, #NULL.base=0, #NULL.offset=0, #res=1.0737418254E10, ~i0~0=-2147483648, ~i1~0=-2147483648, ~iptr.base=10737418250, ~iptr.offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=1.0737418254E10] [L118] RET call #t~ret21 := modf_double(~x~0, ~#iptr~0.base, ~#iptr~0.offset); VAL [#NULL.base=0, #NULL.offset=0, #t~ret21=1.0737418254E10, ~#iptr~0.base=10737418250, ~#iptr~0.offset=0, ~one_modf~0=1.0, ~x~0=1.0737418254E10] [L118] ~res~0 := #t~ret21; [L118] havoc #t~ret21; [L121] call #t~mem22 := read~real(~#iptr~0.base, ~#iptr~0.offset, 8); VAL [#NULL.base=0, #NULL.offset=0, #t~mem22=1.0737418242E10, ~#iptr~0.base=10737418250, ~#iptr~0.offset=0, ~one_modf~0=1.0, ~res~0=1.0737418254E10, ~x~0=1.0737418254E10] [L121] CALL call #t~ret23 := isnan_double(#t~mem22); VAL [#in~x=1.0737418242E10, #NULL.base=0, #NULL.offset=0, ~one_modf~0=1.0] [L15] ~x := #in~x; [L15] #res := (if ~someBinaryDOUBLEComparisonOperation(~x, ~x) then 1 else 0); VAL [#in~x=1.0737418242E10, #NULL.base=0, #NULL.offset=0, #res=1, ~one_modf~0=1.0, ~x=1.0737418242E10] [L15] ensures true; VAL [#in~x=1.0737418242E10, #NULL.base=0, #NULL.offset=0, #res=1, ~one_modf~0=1.0, ~x=1.0737418242E10] [L121] RET call #t~ret23 := isnan_double(#t~mem22); VAL [#NULL.base=0, #NULL.offset=0, #t~mem22=1.0737418242E10, #t~ret23=1, ~#iptr~0.base=10737418250, ~#iptr~0.offset=0, ~one_modf~0=1.0, ~res~0=1.0737418254E10, ~x~0=1.0737418254E10] [L121] assume -2147483648 <= #t~ret23 && #t~ret23 <= 2147483647; [L121] #t~short25 := 0 != #t~ret23; VAL [#NULL.base=0, #NULL.offset=0, #t~mem22=1.0737418242E10, #t~ret23=1, #t~short25=true, ~#iptr~0.base=10737418250, ~#iptr~0.offset=0, ~one_modf~0=1.0, ~res~0=1.0737418254E10, ~x~0=1.0737418254E10] [L121] assume #t~short25; VAL [#NULL.base=0, #NULL.offset=0, #t~mem22=1.0737418242E10, #t~ret23=1, #t~short25=true, ~#iptr~0.base=10737418250, ~#iptr~0.offset=0, ~one_modf~0=1.0, ~res~0=1.0737418254E10, ~x~0=1.0737418254E10] [L121] CALL call #t~ret24 := isnan_double(~res~0); VAL [#in~x=1.0737418254E10, #NULL.base=0, #NULL.offset=0, ~one_modf~0=1.0] [L15] ~x := #in~x; [L15] #res := (if ~someBinaryDOUBLEComparisonOperation(~x, ~x) then 1 else 0); VAL [#in~x=1.0737418254E10, #NULL.base=0, #NULL.offset=0, #res=0, ~one_modf~0=1.0, ~x=1.0737418254E10] [L15] ensures true; VAL [#in~x=1.0737418254E10, #NULL.base=0, #NULL.offset=0, #res=0, ~one_modf~0=1.0, ~x=1.0737418254E10] [L121] RET call #t~ret24 := isnan_double(~res~0); VAL [#NULL.base=0, #NULL.offset=0, #t~mem22=1.0737418242E10, #t~ret23=1, #t~ret24=0, #t~short25=true, ~#iptr~0.base=10737418250, ~#iptr~0.offset=0, ~one_modf~0=1.0, ~res~0=1.0737418254E10, ~x~0=1.0737418254E10] [L121] assume -2147483648 <= #t~ret24 && #t~ret24 <= 2147483647; [L121] #t~short25 := 0 == #t~ret24; VAL [#NULL.base=0, #NULL.offset=0, #t~mem22=1.0737418242E10, #t~ret23=1, #t~ret24=0, #t~short25=true, ~#iptr~0.base=10737418250, ~#iptr~0.offset=0, ~one_modf~0=1.0, ~res~0=1.0737418254E10, ~x~0=1.0737418254E10] [L121-L124] assume #t~short25; [L121] havoc #t~ret23; [L121] havoc #t~short25; [L121] havoc #t~ret24; [L121] havoc #t~mem22; VAL [#NULL.base=0, #NULL.offset=0, ~#iptr~0.base=10737418250, ~#iptr~0.offset=0, ~one_modf~0=1.0, ~res~0=1.0737418254E10, ~x~0=1.0737418254E10] [L122] assert false; VAL [#NULL.base=0, #NULL.offset=0, ~#iptr~0.base=10737418250, ~#iptr~0.offset=0, ~one_modf~0=1.0, ~res~0=1.0737418254E10, ~x~0=1.0737418254E10] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.preprocessor.BoogiePreprocessorBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL.base=10737418249, #NULL.offset=10737418243, old(#NULL.base)=10737418249, old(#NULL.offset)=10737418243, old(~one_modf~0)=1.0737418246E10, ~one_modf~0=1.0737418246E10] [?] #NULL.base, #NULL.offset := 0, 0; [?] #valid := #valid[0 := 0]; [L17] ~one_modf~0 := 1.0; VAL [#NULL.base=0, #NULL.offset=0, old(#NULL.base)=10737418249, old(#NULL.offset)=10737418243, old(~one_modf~0)=1.0737418246E10, ~one_modf~0=1.0] [?] ensures true; VAL [#NULL.base=0, #NULL.offset=0, old(#NULL.base)=10737418249, old(#NULL.offset)=10737418243, old(~one_modf~0)=1.0737418246E10, ~one_modf~0=1.0] [?] RET call ULTIMATE.init(); VAL [#NULL.base=0, #NULL.offset=0, ~one_modf~0=1.0] [?] CALL call #t~ret26 := main(); VAL [#NULL.base=0, #NULL.offset=0, ~one_modf~0=1.0] [L116] ~x~0 := ~someBinaryArithmeticDOUBLEoperation(0.0, 0.0); [L117] call ~#iptr~0.base, ~#iptr~0.offset := #Ultimate.alloc(8); VAL [#NULL.base=0, #NULL.offset=0, ~#iptr~0.base=10737418250, ~#iptr~0.offset=0, ~one_modf~0=1.0] [L118] CALL call #t~ret21 := modf_double(~x~0, ~#iptr~0.base, ~#iptr~0.offset); VAL [#in~iptr.base=10737418250, #in~iptr.offset=0, #in~x=1.0737418254E10, #NULL.base=0, #NULL.offset=0, ~one_modf~0=1.0] [L19-L107] ~x := #in~x; [L19-L107] ~iptr.base, ~iptr.offset := #in~iptr.base, #in~iptr.offset; [L20] havoc ~i0~0; [L20] havoc ~i1~0; [L20] havoc ~j0~0; [L21] havoc ~i~0; VAL [#in~iptr.base=10737418250, #in~iptr.offset=0, #in~x=1.0737418254E10, #NULL.base=0, #NULL.offset=0, ~iptr.base=10737418250, ~iptr.offset=0, ~one_modf~0=1.0, ~x=1.0737418254E10] [L23] call ~#ew_u~0.base, ~#ew_u~0.offset := #Ultimate.alloc(8); [L24] call write~real(~x, ~#ew_u~0.base, ~#ew_u~0.offset, 8); [L25] call #t~mem0 := read~int(~#ew_u~0.base, 4 + ~#ew_u~0.offset, 4); [L25] ~i0~0 := (if #t~mem0 % 4294967296 % 4294967296 <= 2147483647 then #t~mem0 % 4294967296 % 4294967296 else #t~mem0 % 4294967296 % 4294967296 - 4294967296); [L25] call write~real(#t~union1, ~#ew_u~0.base, ~#ew_u~0.offset, 8); [L25] havoc #t~union1; [L25] havoc #t~mem0; [L26] call #t~mem2 := read~int(~#ew_u~0.base, ~#ew_u~0.offset, 4); [L26] ~i1~0 := (if #t~mem2 % 4294967296 % 4294967296 <= 2147483647 then #t~mem2 % 4294967296 % 4294967296 else #t~mem2 % 4294967296 % 4294967296 - 4294967296); [L26] call write~real(#t~union3, ~#ew_u~0.base, ~#ew_u~0.offset, 8); [L26] havoc #t~mem2; [L26] havoc #t~union3; [L23] call ULTIMATE.dealloc(~#ew_u~0.base, ~#ew_u~0.offset); [L23] havoc ~#ew_u~0.base, ~#ew_u~0.offset; VAL [#in~iptr.base=10737418250, #in~iptr.offset=0, #in~x=1.0737418254E10, #NULL.base=0, #NULL.offset=0, ~i0~0=-2147483648, ~i1~0=-2147483648, ~iptr.base=10737418250, ~iptr.offset=0, ~one_modf~0=1.0, ~x=1.0737418254E10] [L28] ~j0~0 := ~bitwiseAnd(~i0~0 / 1048576, 2047) - 1023; VAL [#in~iptr.base=10737418250, #in~iptr.offset=0, #in~x=1.0737418254E10, #NULL.base=0, #NULL.offset=0, ~i0~0=-2147483648, ~i1~0=-2147483648, ~iptr.base=10737418250, ~iptr.offset=0, ~one_modf~0=1.0, ~x=1.0737418254E10] [L29-L106] assume ~j0~0 < 20; VAL [#in~iptr.base=10737418250, #in~iptr.offset=0, #in~x=1.0737418254E10, #NULL.base=0, #NULL.offset=0, ~i0~0=-2147483648, ~i1~0=-2147483648, ~iptr.base=10737418250, ~iptr.offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=1.0737418254E10] [L30-L64] assume ~j0~0 < 0; VAL [#in~iptr.base=10737418250, #in~iptr.offset=0, #in~x=1.0737418254E10, #NULL.base=0, #NULL.offset=0, ~i0~0=-2147483648, ~i1~0=-2147483648, ~iptr.base=10737418250, ~iptr.offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=1.0737418254E10] [L32] call ~#iw_u~0.base, ~#iw_u~0.offset := #Ultimate.alloc(8); [L33] call write~int(~bitwiseAnd(~i0~0, 2147483648), ~#iw_u~0.base, 4 + ~#iw_u~0.offset, 4); [L34] call write~int(0, ~#iw_u~0.base, ~#iw_u~0.offset, 4); [L35] call #t~mem4 := read~real(~#iw_u~0.base, ~#iw_u~0.offset, 8); [L35] call write~real(#t~mem4, ~iptr.base, ~iptr.offset, 8); [L35] havoc #t~mem4; [L32] call ULTIMATE.dealloc(~#iw_u~0.base, ~#iw_u~0.offset); [L32] havoc ~#iw_u~0.base, ~#iw_u~0.offset; VAL [#in~iptr.base=10737418250, #in~iptr.offset=0, #in~x=1.0737418254E10, #NULL.base=0, #NULL.offset=0, ~i0~0=-2147483648, ~i1~0=-2147483648, ~iptr.base=10737418250, ~iptr.offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=1.0737418254E10] [L37] #res := ~x; VAL [#in~iptr.base=10737418250, #in~iptr.offset=0, #in~x=1.0737418254E10, #NULL.base=0, #NULL.offset=0, #res=1.0737418254E10, ~i0~0=-2147483648, ~i1~0=-2147483648, ~iptr.base=10737418250, ~iptr.offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=1.0737418254E10] [L19-L107] ensures true; VAL [#in~iptr.base=10737418250, #in~iptr.offset=0, #in~x=1.0737418254E10, #NULL.base=0, #NULL.offset=0, #res=1.0737418254E10, ~i0~0=-2147483648, ~i1~0=-2147483648, ~iptr.base=10737418250, ~iptr.offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=1.0737418254E10] [L118] RET call #t~ret21 := modf_double(~x~0, ~#iptr~0.base, ~#iptr~0.offset); VAL [#NULL.base=0, #NULL.offset=0, #t~ret21=1.0737418254E10, ~#iptr~0.base=10737418250, ~#iptr~0.offset=0, ~one_modf~0=1.0, ~x~0=1.0737418254E10] [L118] ~res~0 := #t~ret21; [L118] havoc #t~ret21; [L121] call #t~mem22 := read~real(~#iptr~0.base, ~#iptr~0.offset, 8); VAL [#NULL.base=0, #NULL.offset=0, #t~mem22=1.0737418242E10, ~#iptr~0.base=10737418250, ~#iptr~0.offset=0, ~one_modf~0=1.0, ~res~0=1.0737418254E10, ~x~0=1.0737418254E10] [L121] CALL call #t~ret23 := isnan_double(#t~mem22); VAL [#in~x=1.0737418242E10, #NULL.base=0, #NULL.offset=0, ~one_modf~0=1.0] [L15] ~x := #in~x; [L15] #res := (if ~someBinaryDOUBLEComparisonOperation(~x, ~x) then 1 else 0); VAL [#in~x=1.0737418242E10, #NULL.base=0, #NULL.offset=0, #res=1, ~one_modf~0=1.0, ~x=1.0737418242E10] [L15] ensures true; VAL [#in~x=1.0737418242E10, #NULL.base=0, #NULL.offset=0, #res=1, ~one_modf~0=1.0, ~x=1.0737418242E10] [L121] RET call #t~ret23 := isnan_double(#t~mem22); VAL [#NULL.base=0, #NULL.offset=0, #t~mem22=1.0737418242E10, #t~ret23=1, ~#iptr~0.base=10737418250, ~#iptr~0.offset=0, ~one_modf~0=1.0, ~res~0=1.0737418254E10, ~x~0=1.0737418254E10] [L121] assume -2147483648 <= #t~ret23 && #t~ret23 <= 2147483647; [L121] #t~short25 := 0 != #t~ret23; VAL [#NULL.base=0, #NULL.offset=0, #t~mem22=1.0737418242E10, #t~ret23=1, #t~short25=true, ~#iptr~0.base=10737418250, ~#iptr~0.offset=0, ~one_modf~0=1.0, ~res~0=1.0737418254E10, ~x~0=1.0737418254E10] [L121] assume #t~short25; VAL [#NULL.base=0, #NULL.offset=0, #t~mem22=1.0737418242E10, #t~ret23=1, #t~short25=true, ~#iptr~0.base=10737418250, ~#iptr~0.offset=0, ~one_modf~0=1.0, ~res~0=1.0737418254E10, ~x~0=1.0737418254E10] [L121] CALL call #t~ret24 := isnan_double(~res~0); VAL [#in~x=1.0737418254E10, #NULL.base=0, #NULL.offset=0, ~one_modf~0=1.0] [L15] ~x := #in~x; [L15] #res := (if ~someBinaryDOUBLEComparisonOperation(~x, ~x) then 1 else 0); VAL [#in~x=1.0737418254E10, #NULL.base=0, #NULL.offset=0, #res=0, ~one_modf~0=1.0, ~x=1.0737418254E10] [L15] ensures true; VAL [#in~x=1.0737418254E10, #NULL.base=0, #NULL.offset=0, #res=0, ~one_modf~0=1.0, ~x=1.0737418254E10] [L121] RET call #t~ret24 := isnan_double(~res~0); VAL [#NULL.base=0, #NULL.offset=0, #t~mem22=1.0737418242E10, #t~ret23=1, #t~ret24=0, #t~short25=true, ~#iptr~0.base=10737418250, ~#iptr~0.offset=0, ~one_modf~0=1.0, ~res~0=1.0737418254E10, ~x~0=1.0737418254E10] [L121] assume -2147483648 <= #t~ret24 && #t~ret24 <= 2147483647; [L121] #t~short25 := 0 == #t~ret24; VAL [#NULL.base=0, #NULL.offset=0, #t~mem22=1.0737418242E10, #t~ret23=1, #t~ret24=0, #t~short25=true, ~#iptr~0.base=10737418250, ~#iptr~0.offset=0, ~one_modf~0=1.0, ~res~0=1.0737418254E10, ~x~0=1.0737418254E10] [L121-L124] assume #t~short25; [L121] havoc #t~ret23; [L121] havoc #t~short25; [L121] havoc #t~ret24; [L121] havoc #t~mem22; VAL [#NULL.base=0, #NULL.offset=0, ~#iptr~0.base=10737418250, ~#iptr~0.offset=0, ~one_modf~0=1.0, ~res~0=1.0737418254E10, ~x~0=1.0737418254E10] [L122] assert false; VAL [#NULL.base=0, #NULL.offset=0, ~#iptr~0.base=10737418250, ~#iptr~0.offset=0, ~one_modf~0=1.0, ~res~0=1.0737418254E10, ~x~0=1.0737418254E10] [?] CALL call ULTIMATE.init(); VAL [#NULL!base=10737418249, #NULL!offset=10737418243, old(#NULL!base)=10737418249, old(#NULL!offset)=10737418243, old(~one_modf~0)=1.0737418246E10, ~one_modf~0=1.0737418246E10] [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; [L17] ~one_modf~0 := 1.0; VAL [#NULL!base=0, #NULL!offset=0, old(#NULL!base)=10737418249, old(#NULL!offset)=10737418243, old(~one_modf~0)=1.0737418246E10, ~one_modf~0=1.0] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0, #NULL!offset=0, ~one_modf~0=1.0] [?] CALL call #t~ret26 := main(); VAL [#NULL!base=0, #NULL!offset=0, ~one_modf~0=1.0] [L116] ~x~0 := ~someBinaryArithmeticDOUBLEoperation(0.0, 0.0); [L117] FCALL call ~#iptr~0 := #Ultimate.alloc(8); VAL [#NULL!base=0, #NULL!offset=0, ~#iptr~0!base=10737418250, ~#iptr~0!offset=0, ~one_modf~0=1.0] [L118] CALL call #t~ret21 := modf_double(~x~0, ~#iptr~0); VAL [#in~iptr!base=10737418250, #in~iptr!offset=0, #in~x=1.0737418254E10, #NULL!base=0, #NULL!offset=0, ~one_modf~0=1.0] [L19-L107] ~x := #in~x; [L19-L107] ~iptr := #in~iptr; [L20] havoc ~i0~0; [L20] havoc ~i1~0; [L20] havoc ~j0~0; [L21] havoc ~i~0; VAL [#in~iptr!base=10737418250, #in~iptr!offset=0, #in~x=1.0737418254E10, #NULL!base=0, #NULL!offset=0, ~iptr!base=10737418250, ~iptr!offset=0, ~one_modf~0=1.0, ~x=1.0737418254E10] [L23] FCALL call ~#ew_u~0 := #Ultimate.alloc(8); [L24] FCALL call write~real(~x, { base: ~#ew_u~0!base, offset: ~#ew_u~0!offset }, 8); [L25] FCALL call #t~mem0 := read~int({ base: ~#ew_u~0!base, offset: 4 + ~#ew_u~0!offset }, 4); [L25] ~i0~0 := (if #t~mem0 % 4294967296 % 4294967296 <= 2147483647 then #t~mem0 % 4294967296 % 4294967296 else #t~mem0 % 4294967296 % 4294967296 - 4294967296); [L25] FCALL call write~real(#t~union1, { base: ~#ew_u~0!base, offset: ~#ew_u~0!offset }, 8); [L25] havoc #t~union1; [L25] havoc #t~mem0; [L26] FCALL call #t~mem2 := read~int({ base: ~#ew_u~0!base, offset: ~#ew_u~0!offset }, 4); [L26] ~i1~0 := (if #t~mem2 % 4294967296 % 4294967296 <= 2147483647 then #t~mem2 % 4294967296 % 4294967296 else #t~mem2 % 4294967296 % 4294967296 - 4294967296); [L26] FCALL call write~real(#t~union3, { base: ~#ew_u~0!base, offset: ~#ew_u~0!offset }, 8); [L26] havoc #t~mem2; [L26] havoc #t~union3; [L23] FCALL call ULTIMATE.dealloc(~#ew_u~0); [L23] havoc ~#ew_u~0; VAL [#in~iptr!base=10737418250, #in~iptr!offset=0, #in~x=1.0737418254E10, #NULL!base=0, #NULL!offset=0, ~i0~0=-2147483648, ~i1~0=-2147483648, ~iptr!base=10737418250, ~iptr!offset=0, ~one_modf~0=1.0, ~x=1.0737418254E10] [L28] ~j0~0 := ~bitwiseAnd(~i0~0 / 1048576, 2047) - 1023; VAL [#in~iptr!base=10737418250, #in~iptr!offset=0, #in~x=1.0737418254E10, #NULL!base=0, #NULL!offset=0, ~i0~0=-2147483648, ~i1~0=-2147483648, ~iptr!base=10737418250, ~iptr!offset=0, ~one_modf~0=1.0, ~x=1.0737418254E10] [L29] COND TRUE ~j0~0 < 20 VAL [#in~iptr!base=10737418250, #in~iptr!offset=0, #in~x=1.0737418254E10, #NULL!base=0, #NULL!offset=0, ~i0~0=-2147483648, ~i1~0=-2147483648, ~iptr!base=10737418250, ~iptr!offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=1.0737418254E10] [L30] COND TRUE ~j0~0 < 0 VAL [#in~iptr!base=10737418250, #in~iptr!offset=0, #in~x=1.0737418254E10, #NULL!base=0, #NULL!offset=0, ~i0~0=-2147483648, ~i1~0=-2147483648, ~iptr!base=10737418250, ~iptr!offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=1.0737418254E10] [L32] FCALL call ~#iw_u~0 := #Ultimate.alloc(8); [L33] FCALL call write~int(~bitwiseAnd(~i0~0, 2147483648), { base: ~#iw_u~0!base, offset: 4 + ~#iw_u~0!offset }, 4); [L34] FCALL call write~int(0, { base: ~#iw_u~0!base, offset: ~#iw_u~0!offset }, 4); [L35] FCALL call #t~mem4 := read~real({ base: ~#iw_u~0!base, offset: ~#iw_u~0!offset }, 8); [L35] FCALL call write~real(#t~mem4, ~iptr, 8); [L35] havoc #t~mem4; [L32] FCALL call ULTIMATE.dealloc(~#iw_u~0); [L32] havoc ~#iw_u~0; VAL [#in~iptr!base=10737418250, #in~iptr!offset=0, #in~x=1.0737418254E10, #NULL!base=0, #NULL!offset=0, ~i0~0=-2147483648, ~i1~0=-2147483648, ~iptr!base=10737418250, ~iptr!offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=1.0737418254E10] [L37] #res := ~x; VAL [#in~iptr!base=10737418250, #in~iptr!offset=0, #in~x=1.0737418254E10, #NULL!base=0, #NULL!offset=0, #res=1.0737418254E10, ~i0~0=-2147483648, ~i1~0=-2147483648, ~iptr!base=10737418250, ~iptr!offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=1.0737418254E10] [L118] RET call #t~ret21 := modf_double(~x~0, ~#iptr~0); VAL [#NULL!base=0, #NULL!offset=0, #t~ret21=1.0737418254E10, ~#iptr~0!base=10737418250, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~x~0=1.0737418254E10] [L118] ~res~0 := #t~ret21; [L118] havoc #t~ret21; [L121] FCALL call #t~mem22 := read~real(~#iptr~0, 8); VAL [#NULL!base=0, #NULL!offset=0, #t~mem22=1.0737418242E10, ~#iptr~0!base=10737418250, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=1.0737418254E10, ~x~0=1.0737418254E10] [L121] CALL call #t~ret23 := isnan_double(#t~mem22); VAL [#in~x=1.0737418242E10, #NULL!base=0, #NULL!offset=0, ~one_modf~0=1.0] [L15] ~x := #in~x; [L15] #res := (if ~someBinaryDOUBLEComparisonOperation(~x, ~x) then 1 else 0); VAL [#in~x=1.0737418242E10, #NULL!base=0, #NULL!offset=0, #res=1, ~one_modf~0=1.0, ~x=1.0737418242E10] [L121] RET call #t~ret23 := isnan_double(#t~mem22); VAL [#NULL!base=0, #NULL!offset=0, #t~mem22=1.0737418242E10, #t~ret23=1, ~#iptr~0!base=10737418250, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=1.0737418254E10, ~x~0=1.0737418254E10] [L121] assume -2147483648 <= #t~ret23 && #t~ret23 <= 2147483647; [L121] #t~short25 := 0 != #t~ret23; VAL [#NULL!base=0, #NULL!offset=0, #t~mem22=1.0737418242E10, #t~ret23=1, #t~short25=true, ~#iptr~0!base=10737418250, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=1.0737418254E10, ~x~0=1.0737418254E10] [L121] COND TRUE #t~short25 VAL [#NULL!base=0, #NULL!offset=0, #t~mem22=1.0737418242E10, #t~ret23=1, #t~short25=true, ~#iptr~0!base=10737418250, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=1.0737418254E10, ~x~0=1.0737418254E10] [L121] CALL call #t~ret24 := isnan_double(~res~0); VAL [#in~x=1.0737418254E10, #NULL!base=0, #NULL!offset=0, ~one_modf~0=1.0] [L15] ~x := #in~x; [L15] #res := (if ~someBinaryDOUBLEComparisonOperation(~x, ~x) then 1 else 0); VAL [#in~x=1.0737418254E10, #NULL!base=0, #NULL!offset=0, #res=0, ~one_modf~0=1.0, ~x=1.0737418254E10] [L121] RET call #t~ret24 := isnan_double(~res~0); VAL [#NULL!base=0, #NULL!offset=0, #t~mem22=1.0737418242E10, #t~ret23=1, #t~ret24=0, #t~short25=true, ~#iptr~0!base=10737418250, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=1.0737418254E10, ~x~0=1.0737418254E10] [L121] assume -2147483648 <= #t~ret24 && #t~ret24 <= 2147483647; [L121] #t~short25 := 0 == #t~ret24; VAL [#NULL!base=0, #NULL!offset=0, #t~mem22=1.0737418242E10, #t~ret23=1, #t~ret24=0, #t~short25=true, ~#iptr~0!base=10737418250, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=1.0737418254E10, ~x~0=1.0737418254E10] [L121] COND TRUE #t~short25 [L121] havoc #t~ret23; [L121] havoc #t~short25; [L121] havoc #t~ret24; [L121] havoc #t~mem22; VAL [#NULL!base=0, #NULL!offset=0, ~#iptr~0!base=10737418250, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=1.0737418254E10, ~x~0=1.0737418254E10] [L122] assert false; VAL [#NULL!base=0, #NULL!offset=0, ~#iptr~0!base=10737418250, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=1.0737418254E10, ~x~0=1.0737418254E10] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.procedureinliner.backtranslation.InlinerBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL!base=10737418249, #NULL!offset=10737418243, old(#NULL!base)=10737418249, old(#NULL!offset)=10737418243, old(~one_modf~0)=1.0737418246E10, ~one_modf~0=1.0737418246E10] [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; [L17] ~one_modf~0 := 1.0; VAL [#NULL!base=0, #NULL!offset=0, old(#NULL!base)=10737418249, old(#NULL!offset)=10737418243, old(~one_modf~0)=1.0737418246E10, ~one_modf~0=1.0] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0, #NULL!offset=0, ~one_modf~0=1.0] [?] CALL call #t~ret26 := main(); VAL [#NULL!base=0, #NULL!offset=0, ~one_modf~0=1.0] [L116] ~x~0 := ~someBinaryArithmeticDOUBLEoperation(0.0, 0.0); [L117] FCALL call ~#iptr~0 := #Ultimate.alloc(8); VAL [#NULL!base=0, #NULL!offset=0, ~#iptr~0!base=10737418250, ~#iptr~0!offset=0, ~one_modf~0=1.0] [L118] CALL call #t~ret21 := modf_double(~x~0, ~#iptr~0); VAL [#in~iptr!base=10737418250, #in~iptr!offset=0, #in~x=1.0737418254E10, #NULL!base=0, #NULL!offset=0, ~one_modf~0=1.0] [L19-L107] ~x := #in~x; [L19-L107] ~iptr := #in~iptr; [L20] havoc ~i0~0; [L20] havoc ~i1~0; [L20] havoc ~j0~0; [L21] havoc ~i~0; VAL [#in~iptr!base=10737418250, #in~iptr!offset=0, #in~x=1.0737418254E10, #NULL!base=0, #NULL!offset=0, ~iptr!base=10737418250, ~iptr!offset=0, ~one_modf~0=1.0, ~x=1.0737418254E10] [L23] FCALL call ~#ew_u~0 := #Ultimate.alloc(8); [L24] FCALL call write~real(~x, { base: ~#ew_u~0!base, offset: ~#ew_u~0!offset }, 8); [L25] FCALL call #t~mem0 := read~int({ base: ~#ew_u~0!base, offset: 4 + ~#ew_u~0!offset }, 4); [L25] ~i0~0 := (if #t~mem0 % 4294967296 % 4294967296 <= 2147483647 then #t~mem0 % 4294967296 % 4294967296 else #t~mem0 % 4294967296 % 4294967296 - 4294967296); [L25] FCALL call write~real(#t~union1, { base: ~#ew_u~0!base, offset: ~#ew_u~0!offset }, 8); [L25] havoc #t~union1; [L25] havoc #t~mem0; [L26] FCALL call #t~mem2 := read~int({ base: ~#ew_u~0!base, offset: ~#ew_u~0!offset }, 4); [L26] ~i1~0 := (if #t~mem2 % 4294967296 % 4294967296 <= 2147483647 then #t~mem2 % 4294967296 % 4294967296 else #t~mem2 % 4294967296 % 4294967296 - 4294967296); [L26] FCALL call write~real(#t~union3, { base: ~#ew_u~0!base, offset: ~#ew_u~0!offset }, 8); [L26] havoc #t~mem2; [L26] havoc #t~union3; [L23] FCALL call ULTIMATE.dealloc(~#ew_u~0); [L23] havoc ~#ew_u~0; VAL [#in~iptr!base=10737418250, #in~iptr!offset=0, #in~x=1.0737418254E10, #NULL!base=0, #NULL!offset=0, ~i0~0=-2147483648, ~i1~0=-2147483648, ~iptr!base=10737418250, ~iptr!offset=0, ~one_modf~0=1.0, ~x=1.0737418254E10] [L28] ~j0~0 := ~bitwiseAnd(~i0~0 / 1048576, 2047) - 1023; VAL [#in~iptr!base=10737418250, #in~iptr!offset=0, #in~x=1.0737418254E10, #NULL!base=0, #NULL!offset=0, ~i0~0=-2147483648, ~i1~0=-2147483648, ~iptr!base=10737418250, ~iptr!offset=0, ~one_modf~0=1.0, ~x=1.0737418254E10] [L29] COND TRUE ~j0~0 < 20 VAL [#in~iptr!base=10737418250, #in~iptr!offset=0, #in~x=1.0737418254E10, #NULL!base=0, #NULL!offset=0, ~i0~0=-2147483648, ~i1~0=-2147483648, ~iptr!base=10737418250, ~iptr!offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=1.0737418254E10] [L30] COND TRUE ~j0~0 < 0 VAL [#in~iptr!base=10737418250, #in~iptr!offset=0, #in~x=1.0737418254E10, #NULL!base=0, #NULL!offset=0, ~i0~0=-2147483648, ~i1~0=-2147483648, ~iptr!base=10737418250, ~iptr!offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=1.0737418254E10] [L32] FCALL call ~#iw_u~0 := #Ultimate.alloc(8); [L33] FCALL call write~int(~bitwiseAnd(~i0~0, 2147483648), { base: ~#iw_u~0!base, offset: 4 + ~#iw_u~0!offset }, 4); [L34] FCALL call write~int(0, { base: ~#iw_u~0!base, offset: ~#iw_u~0!offset }, 4); [L35] FCALL call #t~mem4 := read~real({ base: ~#iw_u~0!base, offset: ~#iw_u~0!offset }, 8); [L35] FCALL call write~real(#t~mem4, ~iptr, 8); [L35] havoc #t~mem4; [L32] FCALL call ULTIMATE.dealloc(~#iw_u~0); [L32] havoc ~#iw_u~0; VAL [#in~iptr!base=10737418250, #in~iptr!offset=0, #in~x=1.0737418254E10, #NULL!base=0, #NULL!offset=0, ~i0~0=-2147483648, ~i1~0=-2147483648, ~iptr!base=10737418250, ~iptr!offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=1.0737418254E10] [L37] #res := ~x; VAL [#in~iptr!base=10737418250, #in~iptr!offset=0, #in~x=1.0737418254E10, #NULL!base=0, #NULL!offset=0, #res=1.0737418254E10, ~i0~0=-2147483648, ~i1~0=-2147483648, ~iptr!base=10737418250, ~iptr!offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=1.0737418254E10] [L118] RET call #t~ret21 := modf_double(~x~0, ~#iptr~0); VAL [#NULL!base=0, #NULL!offset=0, #t~ret21=1.0737418254E10, ~#iptr~0!base=10737418250, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~x~0=1.0737418254E10] [L118] ~res~0 := #t~ret21; [L118] havoc #t~ret21; [L121] FCALL call #t~mem22 := read~real(~#iptr~0, 8); VAL [#NULL!base=0, #NULL!offset=0, #t~mem22=1.0737418242E10, ~#iptr~0!base=10737418250, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=1.0737418254E10, ~x~0=1.0737418254E10] [L121] CALL call #t~ret23 := isnan_double(#t~mem22); VAL [#in~x=1.0737418242E10, #NULL!base=0, #NULL!offset=0, ~one_modf~0=1.0] [L15] ~x := #in~x; [L15] #res := (if ~someBinaryDOUBLEComparisonOperation(~x, ~x) then 1 else 0); VAL [#in~x=1.0737418242E10, #NULL!base=0, #NULL!offset=0, #res=1, ~one_modf~0=1.0, ~x=1.0737418242E10] [L121] RET call #t~ret23 := isnan_double(#t~mem22); VAL [#NULL!base=0, #NULL!offset=0, #t~mem22=1.0737418242E10, #t~ret23=1, ~#iptr~0!base=10737418250, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=1.0737418254E10, ~x~0=1.0737418254E10] [L121] assume -2147483648 <= #t~ret23 && #t~ret23 <= 2147483647; [L121] #t~short25 := 0 != #t~ret23; VAL [#NULL!base=0, #NULL!offset=0, #t~mem22=1.0737418242E10, #t~ret23=1, #t~short25=true, ~#iptr~0!base=10737418250, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=1.0737418254E10, ~x~0=1.0737418254E10] [L121] COND TRUE #t~short25 VAL [#NULL!base=0, #NULL!offset=0, #t~mem22=1.0737418242E10, #t~ret23=1, #t~short25=true, ~#iptr~0!base=10737418250, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=1.0737418254E10, ~x~0=1.0737418254E10] [L121] CALL call #t~ret24 := isnan_double(~res~0); VAL [#in~x=1.0737418254E10, #NULL!base=0, #NULL!offset=0, ~one_modf~0=1.0] [L15] ~x := #in~x; [L15] #res := (if ~someBinaryDOUBLEComparisonOperation(~x, ~x) then 1 else 0); VAL [#in~x=1.0737418254E10, #NULL!base=0, #NULL!offset=0, #res=0, ~one_modf~0=1.0, ~x=1.0737418254E10] [L121] RET call #t~ret24 := isnan_double(~res~0); VAL [#NULL!base=0, #NULL!offset=0, #t~mem22=1.0737418242E10, #t~ret23=1, #t~ret24=0, #t~short25=true, ~#iptr~0!base=10737418250, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=1.0737418254E10, ~x~0=1.0737418254E10] [L121] assume -2147483648 <= #t~ret24 && #t~ret24 <= 2147483647; [L121] #t~short25 := 0 == #t~ret24; VAL [#NULL!base=0, #NULL!offset=0, #t~mem22=1.0737418242E10, #t~ret23=1, #t~ret24=0, #t~short25=true, ~#iptr~0!base=10737418250, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=1.0737418254E10, ~x~0=1.0737418254E10] [L121] COND TRUE #t~short25 [L121] havoc #t~ret23; [L121] havoc #t~short25; [L121] havoc #t~ret24; [L121] havoc #t~mem22; VAL [#NULL!base=0, #NULL!offset=0, ~#iptr~0!base=10737418250, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=1.0737418254E10, ~x~0=1.0737418254E10] [L122] assert false; VAL [#NULL!base=0, #NULL!offset=0, ~#iptr~0!base=10737418250, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=1.0737418254E10, ~x~0=1.0737418254E10] [?] CALL call ULTIMATE.init(); VAL [#NULL!base=10737418249, #NULL!offset=10737418243, old(#NULL!base)=10737418249, old(#NULL!offset)=10737418243, old(~one_modf~0)=1.0737418246E10, ~one_modf~0=1.0737418246E10] [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; [L17] ~one_modf~0 := 1.0; VAL [#NULL!base=0, #NULL!offset=0, old(#NULL!base)=10737418249, old(#NULL!offset)=10737418243, old(~one_modf~0)=1.0737418246E10, ~one_modf~0=1.0] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0, #NULL!offset=0, ~one_modf~0=1.0] [?] CALL call #t~ret26 := main(); VAL [#NULL!base=0, #NULL!offset=0, ~one_modf~0=1.0] [L116] ~x~0 := ~someBinaryArithmeticDOUBLEoperation(0.0, 0.0); [L117] FCALL call ~#iptr~0 := #Ultimate.alloc(8); VAL [#NULL!base=0, #NULL!offset=0, ~#iptr~0!base=10737418250, ~#iptr~0!offset=0, ~one_modf~0=1.0] [L118] CALL call #t~ret21 := modf_double(~x~0, ~#iptr~0); VAL [#in~iptr!base=10737418250, #in~iptr!offset=0, #in~x=1.0737418254E10, #NULL!base=0, #NULL!offset=0, ~one_modf~0=1.0] [L19-L107] ~x := #in~x; [L19-L107] ~iptr := #in~iptr; [L20] havoc ~i0~0; [L20] havoc ~i1~0; [L20] havoc ~j0~0; [L21] havoc ~i~0; VAL [#in~iptr!base=10737418250, #in~iptr!offset=0, #in~x=1.0737418254E10, #NULL!base=0, #NULL!offset=0, ~iptr!base=10737418250, ~iptr!offset=0, ~one_modf~0=1.0, ~x=1.0737418254E10] [L23] FCALL call ~#ew_u~0 := #Ultimate.alloc(8); [L24] FCALL call write~real(~x, { base: ~#ew_u~0!base, offset: ~#ew_u~0!offset }, 8); [L25] FCALL call #t~mem0 := read~int({ base: ~#ew_u~0!base, offset: 4 + ~#ew_u~0!offset }, 4); [L25] ~i0~0 := (if #t~mem0 % 4294967296 % 4294967296 <= 2147483647 then #t~mem0 % 4294967296 % 4294967296 else #t~mem0 % 4294967296 % 4294967296 - 4294967296); [L25] FCALL call write~real(#t~union1, { base: ~#ew_u~0!base, offset: ~#ew_u~0!offset }, 8); [L25] havoc #t~union1; [L25] havoc #t~mem0; [L26] FCALL call #t~mem2 := read~int({ base: ~#ew_u~0!base, offset: ~#ew_u~0!offset }, 4); [L26] ~i1~0 := (if #t~mem2 % 4294967296 % 4294967296 <= 2147483647 then #t~mem2 % 4294967296 % 4294967296 else #t~mem2 % 4294967296 % 4294967296 - 4294967296); [L26] FCALL call write~real(#t~union3, { base: ~#ew_u~0!base, offset: ~#ew_u~0!offset }, 8); [L26] havoc #t~mem2; [L26] havoc #t~union3; [L23] FCALL call ULTIMATE.dealloc(~#ew_u~0); [L23] havoc ~#ew_u~0; VAL [#in~iptr!base=10737418250, #in~iptr!offset=0, #in~x=1.0737418254E10, #NULL!base=0, #NULL!offset=0, ~i0~0=-2147483648, ~i1~0=-2147483648, ~iptr!base=10737418250, ~iptr!offset=0, ~one_modf~0=1.0, ~x=1.0737418254E10] [L28] ~j0~0 := ~bitwiseAnd(~i0~0 / 1048576, 2047) - 1023; VAL [#in~iptr!base=10737418250, #in~iptr!offset=0, #in~x=1.0737418254E10, #NULL!base=0, #NULL!offset=0, ~i0~0=-2147483648, ~i1~0=-2147483648, ~iptr!base=10737418250, ~iptr!offset=0, ~one_modf~0=1.0, ~x=1.0737418254E10] [L29] COND TRUE ~j0~0 < 20 VAL [#in~iptr!base=10737418250, #in~iptr!offset=0, #in~x=1.0737418254E10, #NULL!base=0, #NULL!offset=0, ~i0~0=-2147483648, ~i1~0=-2147483648, ~iptr!base=10737418250, ~iptr!offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=1.0737418254E10] [L30] COND TRUE ~j0~0 < 0 VAL [#in~iptr!base=10737418250, #in~iptr!offset=0, #in~x=1.0737418254E10, #NULL!base=0, #NULL!offset=0, ~i0~0=-2147483648, ~i1~0=-2147483648, ~iptr!base=10737418250, ~iptr!offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=1.0737418254E10] [L32] FCALL call ~#iw_u~0 := #Ultimate.alloc(8); [L33] FCALL call write~int(~bitwiseAnd(~i0~0, 2147483648), { base: ~#iw_u~0!base, offset: 4 + ~#iw_u~0!offset }, 4); [L34] FCALL call write~int(0, { base: ~#iw_u~0!base, offset: ~#iw_u~0!offset }, 4); [L35] FCALL call #t~mem4 := read~real({ base: ~#iw_u~0!base, offset: ~#iw_u~0!offset }, 8); [L35] FCALL call write~real(#t~mem4, ~iptr, 8); [L35] havoc #t~mem4; [L32] FCALL call ULTIMATE.dealloc(~#iw_u~0); [L32] havoc ~#iw_u~0; VAL [#in~iptr!base=10737418250, #in~iptr!offset=0, #in~x=1.0737418254E10, #NULL!base=0, #NULL!offset=0, ~i0~0=-2147483648, ~i1~0=-2147483648, ~iptr!base=10737418250, ~iptr!offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=1.0737418254E10] [L37] #res := ~x; VAL [#in~iptr!base=10737418250, #in~iptr!offset=0, #in~x=1.0737418254E10, #NULL!base=0, #NULL!offset=0, #res=1.0737418254E10, ~i0~0=-2147483648, ~i1~0=-2147483648, ~iptr!base=10737418250, ~iptr!offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=1.0737418254E10] [L118] RET call #t~ret21 := modf_double(~x~0, ~#iptr~0); VAL [#NULL!base=0, #NULL!offset=0, #t~ret21=1.0737418254E10, ~#iptr~0!base=10737418250, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~x~0=1.0737418254E10] [L118] ~res~0 := #t~ret21; [L118] havoc #t~ret21; [L121] FCALL call #t~mem22 := read~real(~#iptr~0, 8); VAL [#NULL!base=0, #NULL!offset=0, #t~mem22=1.0737418242E10, ~#iptr~0!base=10737418250, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=1.0737418254E10, ~x~0=1.0737418254E10] [L121] CALL call #t~ret23 := isnan_double(#t~mem22); VAL [#in~x=1.0737418242E10, #NULL!base=0, #NULL!offset=0, ~one_modf~0=1.0] [L15] ~x := #in~x; [L15] #res := (if ~someBinaryDOUBLEComparisonOperation(~x, ~x) then 1 else 0); VAL [#in~x=1.0737418242E10, #NULL!base=0, #NULL!offset=0, #res=1, ~one_modf~0=1.0, ~x=1.0737418242E10] [L121] RET call #t~ret23 := isnan_double(#t~mem22); VAL [#NULL!base=0, #NULL!offset=0, #t~mem22=1.0737418242E10, #t~ret23=1, ~#iptr~0!base=10737418250, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=1.0737418254E10, ~x~0=1.0737418254E10] [L121] assume -2147483648 <= #t~ret23 && #t~ret23 <= 2147483647; [L121] #t~short25 := 0 != #t~ret23; VAL [#NULL!base=0, #NULL!offset=0, #t~mem22=1.0737418242E10, #t~ret23=1, #t~short25=true, ~#iptr~0!base=10737418250, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=1.0737418254E10, ~x~0=1.0737418254E10] [L121] COND TRUE #t~short25 VAL [#NULL!base=0, #NULL!offset=0, #t~mem22=1.0737418242E10, #t~ret23=1, #t~short25=true, ~#iptr~0!base=10737418250, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=1.0737418254E10, ~x~0=1.0737418254E10] [L121] CALL call #t~ret24 := isnan_double(~res~0); VAL [#in~x=1.0737418254E10, #NULL!base=0, #NULL!offset=0, ~one_modf~0=1.0] [L15] ~x := #in~x; [L15] #res := (if ~someBinaryDOUBLEComparisonOperation(~x, ~x) then 1 else 0); VAL [#in~x=1.0737418254E10, #NULL!base=0, #NULL!offset=0, #res=0, ~one_modf~0=1.0, ~x=1.0737418254E10] [L121] RET call #t~ret24 := isnan_double(~res~0); VAL [#NULL!base=0, #NULL!offset=0, #t~mem22=1.0737418242E10, #t~ret23=1, #t~ret24=0, #t~short25=true, ~#iptr~0!base=10737418250, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=1.0737418254E10, ~x~0=1.0737418254E10] [L121] assume -2147483648 <= #t~ret24 && #t~ret24 <= 2147483647; [L121] #t~short25 := 0 == #t~ret24; VAL [#NULL!base=0, #NULL!offset=0, #t~mem22=1.0737418242E10, #t~ret23=1, #t~ret24=0, #t~short25=true, ~#iptr~0!base=10737418250, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=1.0737418254E10, ~x~0=1.0737418254E10] [L121] COND TRUE #t~short25 [L121] havoc #t~ret23; [L121] havoc #t~short25; [L121] havoc #t~ret24; [L121] havoc #t~mem22; VAL [#NULL!base=0, #NULL!offset=0, ~#iptr~0!base=10737418250, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=1.0737418254E10, ~x~0=1.0737418254E10] [L122] assert false; VAL [#NULL!base=0, #NULL!offset=0, ~#iptr~0!base=10737418250, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=1.0737418254E10, ~x~0=1.0737418254E10] ----- ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL!base=10737418249, #NULL!offset=10737418243, old(#NULL!base)=10737418249, old(#NULL!offset)=10737418243, old(~one_modf~0)=1.0737418246E10, ~one_modf~0=1.0737418246E10] [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; [L17] ~one_modf~0 := 1.0; VAL [#NULL!base=0, #NULL!offset=0, old(#NULL!base)=10737418249, old(#NULL!offset)=10737418243, old(~one_modf~0)=1.0737418246E10, ~one_modf~0=1.0] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0, #NULL!offset=0, ~one_modf~0=1.0] [?] CALL call #t~ret26 := main(); VAL [#NULL!base=0, #NULL!offset=0, ~one_modf~0=1.0] [L116] ~x~0 := ~someBinaryArithmeticDOUBLEoperation(0.0, 0.0); [L117] FCALL call ~#iptr~0 := #Ultimate.alloc(8); VAL [#NULL!base=0, #NULL!offset=0, ~#iptr~0!base=10737418250, ~#iptr~0!offset=0, ~one_modf~0=1.0] [L118] CALL call #t~ret21 := modf_double(~x~0, ~#iptr~0); VAL [#in~iptr!base=10737418250, #in~iptr!offset=0, #in~x=1.0737418254E10, #NULL!base=0, #NULL!offset=0, ~one_modf~0=1.0] [L19-L107] ~x := #in~x; [L19-L107] ~iptr := #in~iptr; [L20] havoc ~i0~0; [L20] havoc ~i1~0; [L20] havoc ~j0~0; [L21] havoc ~i~0; VAL [#in~iptr!base=10737418250, #in~iptr!offset=0, #in~x=1.0737418254E10, #NULL!base=0, #NULL!offset=0, ~iptr!base=10737418250, ~iptr!offset=0, ~one_modf~0=1.0, ~x=1.0737418254E10] [L23] FCALL call ~#ew_u~0 := #Ultimate.alloc(8); [L24] FCALL call write~real(~x, { base: ~#ew_u~0!base, offset: ~#ew_u~0!offset }, 8); [L25] FCALL call #t~mem0 := read~int({ base: ~#ew_u~0!base, offset: 4 + ~#ew_u~0!offset }, 4); [L25] ~i0~0 := (if #t~mem0 % 4294967296 % 4294967296 <= 2147483647 then #t~mem0 % 4294967296 % 4294967296 else #t~mem0 % 4294967296 % 4294967296 - 4294967296); [L25] FCALL call write~real(#t~union1, { base: ~#ew_u~0!base, offset: ~#ew_u~0!offset }, 8); [L25] havoc #t~union1; [L25] havoc #t~mem0; [L26] FCALL call #t~mem2 := read~int({ base: ~#ew_u~0!base, offset: ~#ew_u~0!offset }, 4); [L26] ~i1~0 := (if #t~mem2 % 4294967296 % 4294967296 <= 2147483647 then #t~mem2 % 4294967296 % 4294967296 else #t~mem2 % 4294967296 % 4294967296 - 4294967296); [L26] FCALL call write~real(#t~union3, { base: ~#ew_u~0!base, offset: ~#ew_u~0!offset }, 8); [L26] havoc #t~mem2; [L26] havoc #t~union3; [L23] FCALL call ULTIMATE.dealloc(~#ew_u~0); [L23] havoc ~#ew_u~0; VAL [#in~iptr!base=10737418250, #in~iptr!offset=0, #in~x=1.0737418254E10, #NULL!base=0, #NULL!offset=0, ~i0~0=-2147483648, ~i1~0=-2147483648, ~iptr!base=10737418250, ~iptr!offset=0, ~one_modf~0=1.0, ~x=1.0737418254E10] [L28] ~j0~0 := ~bitwiseAnd(~i0~0 / 1048576, 2047) - 1023; VAL [#in~iptr!base=10737418250, #in~iptr!offset=0, #in~x=1.0737418254E10, #NULL!base=0, #NULL!offset=0, ~i0~0=-2147483648, ~i1~0=-2147483648, ~iptr!base=10737418250, ~iptr!offset=0, ~one_modf~0=1.0, ~x=1.0737418254E10] [L29] COND TRUE ~j0~0 < 20 VAL [#in~iptr!base=10737418250, #in~iptr!offset=0, #in~x=1.0737418254E10, #NULL!base=0, #NULL!offset=0, ~i0~0=-2147483648, ~i1~0=-2147483648, ~iptr!base=10737418250, ~iptr!offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=1.0737418254E10] [L30] COND TRUE ~j0~0 < 0 VAL [#in~iptr!base=10737418250, #in~iptr!offset=0, #in~x=1.0737418254E10, #NULL!base=0, #NULL!offset=0, ~i0~0=-2147483648, ~i1~0=-2147483648, ~iptr!base=10737418250, ~iptr!offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=1.0737418254E10] [L32] FCALL call ~#iw_u~0 := #Ultimate.alloc(8); [L33] FCALL call write~int(~bitwiseAnd(~i0~0, 2147483648), { base: ~#iw_u~0!base, offset: 4 + ~#iw_u~0!offset }, 4); [L34] FCALL call write~int(0, { base: ~#iw_u~0!base, offset: ~#iw_u~0!offset }, 4); [L35] FCALL call #t~mem4 := read~real({ base: ~#iw_u~0!base, offset: ~#iw_u~0!offset }, 8); [L35] FCALL call write~real(#t~mem4, ~iptr, 8); [L35] havoc #t~mem4; [L32] FCALL call ULTIMATE.dealloc(~#iw_u~0); [L32] havoc ~#iw_u~0; VAL [#in~iptr!base=10737418250, #in~iptr!offset=0, #in~x=1.0737418254E10, #NULL!base=0, #NULL!offset=0, ~i0~0=-2147483648, ~i1~0=-2147483648, ~iptr!base=10737418250, ~iptr!offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=1.0737418254E10] [L37] #res := ~x; VAL [#in~iptr!base=10737418250, #in~iptr!offset=0, #in~x=1.0737418254E10, #NULL!base=0, #NULL!offset=0, #res=1.0737418254E10, ~i0~0=-2147483648, ~i1~0=-2147483648, ~iptr!base=10737418250, ~iptr!offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=1.0737418254E10] [L118] RET call #t~ret21 := modf_double(~x~0, ~#iptr~0); VAL [#NULL!base=0, #NULL!offset=0, #t~ret21=1.0737418254E10, ~#iptr~0!base=10737418250, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~x~0=1.0737418254E10] [L118] ~res~0 := #t~ret21; [L118] havoc #t~ret21; [L121] FCALL call #t~mem22 := read~real(~#iptr~0, 8); VAL [#NULL!base=0, #NULL!offset=0, #t~mem22=1.0737418242E10, ~#iptr~0!base=10737418250, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=1.0737418254E10, ~x~0=1.0737418254E10] [L121] CALL call #t~ret23 := isnan_double(#t~mem22); VAL [#in~x=1.0737418242E10, #NULL!base=0, #NULL!offset=0, ~one_modf~0=1.0] [L15] ~x := #in~x; [L15] #res := (if ~someBinaryDOUBLEComparisonOperation(~x, ~x) then 1 else 0); VAL [#in~x=1.0737418242E10, #NULL!base=0, #NULL!offset=0, #res=1, ~one_modf~0=1.0, ~x=1.0737418242E10] [L121] RET call #t~ret23 := isnan_double(#t~mem22); VAL [#NULL!base=0, #NULL!offset=0, #t~mem22=1.0737418242E10, #t~ret23=1, ~#iptr~0!base=10737418250, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=1.0737418254E10, ~x~0=1.0737418254E10] [L121] assume -2147483648 <= #t~ret23 && #t~ret23 <= 2147483647; [L121] #t~short25 := 0 != #t~ret23; VAL [#NULL!base=0, #NULL!offset=0, #t~mem22=1.0737418242E10, #t~ret23=1, #t~short25=true, ~#iptr~0!base=10737418250, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=1.0737418254E10, ~x~0=1.0737418254E10] [L121] COND TRUE #t~short25 VAL [#NULL!base=0, #NULL!offset=0, #t~mem22=1.0737418242E10, #t~ret23=1, #t~short25=true, ~#iptr~0!base=10737418250, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=1.0737418254E10, ~x~0=1.0737418254E10] [L121] CALL call #t~ret24 := isnan_double(~res~0); VAL [#in~x=1.0737418254E10, #NULL!base=0, #NULL!offset=0, ~one_modf~0=1.0] [L15] ~x := #in~x; [L15] #res := (if ~someBinaryDOUBLEComparisonOperation(~x, ~x) then 1 else 0); VAL [#in~x=1.0737418254E10, #NULL!base=0, #NULL!offset=0, #res=0, ~one_modf~0=1.0, ~x=1.0737418254E10] [L121] RET call #t~ret24 := isnan_double(~res~0); VAL [#NULL!base=0, #NULL!offset=0, #t~mem22=1.0737418242E10, #t~ret23=1, #t~ret24=0, #t~short25=true, ~#iptr~0!base=10737418250, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=1.0737418254E10, ~x~0=1.0737418254E10] [L121] assume -2147483648 <= #t~ret24 && #t~ret24 <= 2147483647; [L121] #t~short25 := 0 == #t~ret24; VAL [#NULL!base=0, #NULL!offset=0, #t~mem22=1.0737418242E10, #t~ret23=1, #t~ret24=0, #t~short25=true, ~#iptr~0!base=10737418250, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=1.0737418254E10, ~x~0=1.0737418254E10] [L121] COND TRUE #t~short25 [L121] havoc #t~ret23; [L121] havoc #t~short25; [L121] havoc #t~ret24; [L121] havoc #t~mem22; VAL [#NULL!base=0, #NULL!offset=0, ~#iptr~0!base=10737418250, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=1.0737418254E10, ~x~0=1.0737418254E10] [L122] assert false; VAL [#NULL!base=0, #NULL!offset=0, ~#iptr~0!base=10737418250, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=1.0737418254E10, ~x~0=1.0737418254E10] [L17] static const double one_modf = 1.0; VAL [\old(one_modf)=10737418246, one_modf=1] [L116] double x = 0.0 / 0.0; [L117] double iptr; VAL [iptr={10737418250:0}, one_modf=1] [L118] CALL, EXPR modf_double(x, &iptr) VAL [\old(x)=10737418254, iptr={10737418250:0}, one_modf=1] [L20] __int32_t i0, i1, j0; [L21] __uint32_t i; VAL [\old(x)=10737418254, iptr={10737418250:0}, iptr={10737418250:0}, one_modf=1, x=10737418254] [L23] ieee_double_shape_type ew_u; [L24] ew_u.value = (x) [L25] EXPR ew_u.parts.msw [L25] (i0) = ew_u.parts.msw [L26] EXPR ew_u.parts.lsw [L26] (i1) = ew_u.parts.lsw [L28] j0 = ((i0 >> 20) & 0x7ff) - 0x3ff VAL [\old(x)=10737418254, i0=-2147483648, i1=-2147483648, iptr={10737418250:0}, iptr={10737418250:0}, one_modf=1, x=10737418254] [L29] COND TRUE j0 < 20 VAL [\old(x)=10737418254, i0=-2147483648, i1=-2147483648, iptr={10737418250:0}, iptr={10737418250:0}, j0=-1, one_modf=1, x=10737418254] [L30] COND TRUE j0 < 0 VAL [\old(x)=10737418254, i0=-2147483648, i1=-2147483648, iptr={10737418250:0}, iptr={10737418250:0}, j0=-1, one_modf=1, x=10737418254] [L32] ieee_double_shape_type iw_u; [L33] iw_u.parts.msw = (i0 & 0x80000000) [L34] iw_u.parts.lsw = (0) [L35] EXPR iw_u.value [L35] (*iptr) = iw_u.value [L37] return x; VAL [\old(x)=10737418254, \result=10737418254, i0=-2147483648, i1=-2147483648, iptr={10737418250:0}, iptr={10737418250:0}, j0=-1, one_modf=1, x=10737418254] [L118] RET, EXPR modf_double(x, &iptr) VAL [iptr={10737418250:0}, modf_double(x, &iptr)=10737418254, one_modf=1, x=10737418254] [L118] double res = modf_double(x, &iptr); [L121] EXPR \read(iptr) VAL [\read(iptr)=10737418242, iptr={10737418250:0}, one_modf=1, res=10737418254, x=10737418254] [L121] CALL, EXPR isnan_double(iptr) VAL [\old(x)=10737418242, one_modf=1] [L15] return x != x; VAL [\old(x)=10737418242, \result=1, one_modf=1, x=10737418242] [L121] RET, EXPR isnan_double(iptr) VAL [\read(iptr)=10737418242, iptr={10737418250:0}, isnan_double(iptr)=1, one_modf=1, res=10737418254, x=10737418254] [L121] isnan_double(iptr) && !isnan_double(res) VAL [\read(iptr)=10737418242, iptr={10737418250:0}, isnan_double(iptr)=1, isnan_double(iptr) && !isnan_double(res)=1, one_modf=1, res=10737418254, x=10737418254] [L121] CALL, EXPR isnan_double(res) VAL [\old(x)=10737418254, one_modf=1] [L15] return x != x; VAL [\old(x)=10737418254, \result=0, one_modf=1, x=10737418254] [L121] RET, EXPR isnan_double(res) VAL [\read(iptr)=10737418242, iptr={10737418250:0}, isnan_double(iptr)=1, isnan_double(iptr) && !isnan_double(res)=1, isnan_double(res)=0, one_modf=1, res=10737418254, x=10737418254] [L121] isnan_double(iptr) && !isnan_double(res) VAL [\read(iptr)=10737418242, iptr={10737418250:0}, isnan_double(iptr)=1, isnan_double(iptr) && !isnan_double(res)=1, isnan_double(res)=0, one_modf=1, res=10737418254, x=10737418254] [L121] COND TRUE isnan_double(iptr) && !isnan_double(res) [L122] __VERIFIER_error() VAL [iptr={10737418250:0}, one_modf=1, res=10737418254, x=10737418254] ----- [2018-11-23 02:30:58,610 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 23.11 02:30:58 BoogieIcfgContainer [2018-11-23 02:30:58,610 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2018-11-23 02:30:58,610 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2018-11-23 02:30:58,610 INFO L271 PluginConnector]: Initializing Witness Printer... [2018-11-23 02:30:58,610 INFO L276 PluginConnector]: Witness Printer initialized [2018-11-23 02:30:58,611 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 02:30:58" (3/4) ... [2018-11-23 02:30:58,615 INFO L147 WitnessPrinter]: No result that supports witness generation found [2018-11-23 02:30:58,615 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2018-11-23 02:30:58,615 INFO L168 Benchmark]: Toolchain (without parser) took 1234.49 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 173.0 MB). Free memory was 957.5 MB in the beginning and 1.1 GB in the end (delta: -122.9 MB). Peak memory consumption was 50.1 MB. Max. memory is 11.5 GB. [2018-11-23 02:30:58,617 INFO L168 Benchmark]: CDTParser took 0.11 ms. Allocated memory is still 1.0 GB. Free memory is still 977.4 MB. There was no memory consumed. Max. memory is 11.5 GB. [2018-11-23 02:30:58,618 INFO L168 Benchmark]: CACSL2BoogieTranslator took 191.97 ms. Allocated memory is still 1.0 GB. Free memory was 957.5 MB in the beginning and 940.3 MB in the end (delta: 17.2 MB). Peak memory consumption was 17.2 MB. Max. memory is 11.5 GB. [2018-11-23 02:30:58,618 INFO L168 Benchmark]: Boogie Procedure Inliner took 64.68 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 173.0 MB). Free memory was 940.3 MB in the beginning and 1.2 GB in the end (delta: -224.2 MB). Peak memory consumption was 14.6 MB. Max. memory is 11.5 GB. [2018-11-23 02:30:58,619 INFO L168 Benchmark]: Boogie Preprocessor took 37.72 ms. Allocated memory is still 1.2 GB. Free memory is still 1.2 GB. There was no memory consumed. Max. memory is 11.5 GB. [2018-11-23 02:30:58,619 INFO L168 Benchmark]: RCFGBuilder took 424.81 ms. Allocated memory is still 1.2 GB. Free memory was 1.2 GB in the beginning and 1.1 GB in the end (delta: 34.3 MB). Peak memory consumption was 34.3 MB. Max. memory is 11.5 GB. [2018-11-23 02:30:58,620 INFO L168 Benchmark]: TraceAbstraction took 507.25 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 49.8 MB). Peak memory consumption was 49.8 MB. Max. memory is 11.5 GB. [2018-11-23 02:30:58,620 INFO L168 Benchmark]: Witness Printer took 4.66 ms. Allocated memory is still 1.2 GB. Free memory is still 1.1 GB. There was no memory consumed. Max. memory is 11.5 GB. [2018-11-23 02:30:58,623 INFO L336 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.11 ms. Allocated memory is still 1.0 GB. Free memory is still 977.4 MB. There was no memory consumed. Max. memory is 11.5 GB. * CACSL2BoogieTranslator took 191.97 ms. Allocated memory is still 1.0 GB. Free memory was 957.5 MB in the beginning and 940.3 MB in the end (delta: 17.2 MB). Peak memory consumption was 17.2 MB. Max. memory is 11.5 GB. * Boogie Procedure Inliner took 64.68 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 173.0 MB). Free memory was 940.3 MB in the beginning and 1.2 GB in the end (delta: -224.2 MB). Peak memory consumption was 14.6 MB. Max. memory is 11.5 GB. * Boogie Preprocessor took 37.72 ms. Allocated memory is still 1.2 GB. Free memory is still 1.2 GB. There was no memory consumed. Max. memory is 11.5 GB. * RCFGBuilder took 424.81 ms. Allocated memory is still 1.2 GB. Free memory was 1.2 GB in the beginning and 1.1 GB in the end (delta: 34.3 MB). Peak memory consumption was 34.3 MB. Max. memory is 11.5 GB. * TraceAbstraction took 507.25 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 49.8 MB). Peak memory consumption was 49.8 MB. Max. memory is 11.5 GB. * Witness Printer took 4.66 ms. Allocated memory is still 1.2 GB. Free memory is still 1.1 GB. There was no memory consumed. Max. memory is 11.5 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - UnprovableResult [Line: 122]: Unable to prove that call of __VERIFIER_error() unreachable Unable to prove that call of __VERIFIER_error() unreachable Reason: overapproximation of someBinaryDOUBLEComparisonOperation at line 15, overapproximation of someBinaryArithmeticDOUBLEoperation at line 116, overapproximation of bitwiseAnd at line 33. Possible FailurePath: [L17] static const double one_modf = 1.0; VAL [\old(one_modf)=10737418246, one_modf=1] [L116] double x = 0.0 / 0.0; [L117] double iptr; VAL [iptr={10737418250:0}, one_modf=1] [L118] CALL, EXPR modf_double(x, &iptr) VAL [\old(x)=10737418254, iptr={10737418250:0}, one_modf=1] [L20] __int32_t i0, i1, j0; [L21] __uint32_t i; VAL [\old(x)=10737418254, iptr={10737418250:0}, iptr={10737418250:0}, one_modf=1, x=10737418254] [L23] ieee_double_shape_type ew_u; [L24] ew_u.value = (x) [L25] EXPR ew_u.parts.msw [L25] (i0) = ew_u.parts.msw [L26] EXPR ew_u.parts.lsw [L26] (i1) = ew_u.parts.lsw [L28] j0 = ((i0 >> 20) & 0x7ff) - 0x3ff VAL [\old(x)=10737418254, i0=-2147483648, i1=-2147483648, iptr={10737418250:0}, iptr={10737418250:0}, one_modf=1, x=10737418254] [L29] COND TRUE j0 < 20 VAL [\old(x)=10737418254, i0=-2147483648, i1=-2147483648, iptr={10737418250:0}, iptr={10737418250:0}, j0=-1, one_modf=1, x=10737418254] [L30] COND TRUE j0 < 0 VAL [\old(x)=10737418254, i0=-2147483648, i1=-2147483648, iptr={10737418250:0}, iptr={10737418250:0}, j0=-1, one_modf=1, x=10737418254] [L32] ieee_double_shape_type iw_u; [L33] iw_u.parts.msw = (i0 & 0x80000000) [L34] iw_u.parts.lsw = (0) [L35] EXPR iw_u.value [L35] (*iptr) = iw_u.value [L37] return x; VAL [\old(x)=10737418254, \result=10737418254, i0=-2147483648, i1=-2147483648, iptr={10737418250:0}, iptr={10737418250:0}, j0=-1, one_modf=1, x=10737418254] [L118] RET, EXPR modf_double(x, &iptr) VAL [iptr={10737418250:0}, modf_double(x, &iptr)=10737418254, one_modf=1, x=10737418254] [L118] double res = modf_double(x, &iptr); [L121] EXPR \read(iptr) VAL [\read(iptr)=10737418242, iptr={10737418250:0}, one_modf=1, res=10737418254, x=10737418254] [L121] CALL, EXPR isnan_double(iptr) VAL [\old(x)=10737418242, one_modf=1] [L15] return x != x; VAL [\old(x)=10737418242, \result=1, one_modf=1, x=10737418242] [L121] RET, EXPR isnan_double(iptr) VAL [\read(iptr)=10737418242, iptr={10737418250:0}, isnan_double(iptr)=1, one_modf=1, res=10737418254, x=10737418254] [L121] isnan_double(iptr) && !isnan_double(res) VAL [\read(iptr)=10737418242, iptr={10737418250:0}, isnan_double(iptr)=1, isnan_double(iptr) && !isnan_double(res)=1, one_modf=1, res=10737418254, x=10737418254] [L121] CALL, EXPR isnan_double(res) VAL [\old(x)=10737418254, one_modf=1] [L15] return x != x; VAL [\old(x)=10737418254, \result=0, one_modf=1, x=10737418254] [L121] RET, EXPR isnan_double(res) VAL [\read(iptr)=10737418242, iptr={10737418250:0}, isnan_double(iptr)=1, isnan_double(iptr) && !isnan_double(res)=1, isnan_double(res)=0, one_modf=1, res=10737418254, x=10737418254] [L121] isnan_double(iptr) && !isnan_double(res) VAL [\read(iptr)=10737418242, iptr={10737418250:0}, isnan_double(iptr)=1, isnan_double(iptr) && !isnan_double(res)=1, isnan_double(res)=0, one_modf=1, res=10737418254, x=10737418254] [L121] COND TRUE isnan_double(iptr) && !isnan_double(res) [L122] __VERIFIER_error() VAL [iptr={10737418250:0}, one_modf=1, res=10737418254, x=10737418254] - StatisticsResult: Ultimate Automizer benchmark data CFG has 5 procedures, 58 locations, 1 error locations. UNSAFE Result, 0.4s OverallTime, 3 OverallIterations, 2 TraceHistogramMax, 0.0s AutomataDifference, 0.0s DeadEndRemovalTime, 0.0s HoareAnnotationTime, HoareTripleCheckerStatistics: 124 SDtfs, 0 SDslu, 55 SDs, 0 SdLazy, 4 SolverSat, 0 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 0.0s Time, PredicateUnifierStatistics: 0 DeclaredPredicates, 5 GetRequests, 4 SyntacticMatches, 0 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=58occurred in iteration=0, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s AbstIntTime, 0 AbstIntIterations, 0 AbstIntStrong, NaN AbsIntWeakeningRatio, NaN AbsIntAvgWeakeningVarsNumRemoved, NaN AbsIntAvgWeakenedConjuncts, 0.0s DumpTime, AutomataMinimizationStatistics: 0.0s AutomataMinimizationTime, 2 MinimizatonAttempts, 0 StatesRemovedByMinimization, 0 NontrivialMinimizations, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TraceCheckStatistics: 0.0s SsaConstructionTime, 0.0s SatisfiabilityAnalysisTime, 0.0s InterpolantComputationTime, 84 NumberOfCodeBlocks, 84 NumberOfCodeBlocksAsserted, 3 NumberOfCheckSat, 50 ConstructedInterpolants, 0 QuantifiedInterpolants, 1278 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 2 InterpolantComputations, 2 PerfectInterpolantSequences, 0/0 InterpolantCoveringCapability, InvariantSynthesisStatistics: No data available, InterpolantConsolidationStatistics: No data available, ReuseStatistics: No data available RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces Received shutdown request... ### Bit-precise run ### This is Ultimate 0.1.23-aa41828 [2018-11-23 02:31:00,159 INFO L170 SettingsManager]: Resetting all preferences to default values... [2018-11-23 02:31:00,160 INFO L174 SettingsManager]: Resetting UltimateCore preferences to default values [2018-11-23 02:31:00,168 INFO L177 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2018-11-23 02:31:00,168 INFO L174 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2018-11-23 02:31:00,169 INFO L174 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2018-11-23 02:31:00,170 INFO L174 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2018-11-23 02:31:00,171 INFO L174 SettingsManager]: Resetting LassoRanker preferences to default values [2018-11-23 02:31:00,172 INFO L174 SettingsManager]: Resetting Reaching Definitions preferences to default values [2018-11-23 02:31:00,173 INFO L174 SettingsManager]: Resetting SyntaxChecker preferences to default values [2018-11-23 02:31:00,174 INFO L177 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2018-11-23 02:31:00,174 INFO L174 SettingsManager]: Resetting LTL2Aut preferences to default values [2018-11-23 02:31:00,175 INFO L174 SettingsManager]: Resetting PEA to Boogie preferences to default values [2018-11-23 02:31:00,176 INFO L174 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2018-11-23 02:31:00,177 INFO L174 SettingsManager]: Resetting ChcToBoogie preferences to default values [2018-11-23 02:31:00,177 INFO L174 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2018-11-23 02:31:00,178 INFO L174 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2018-11-23 02:31:00,179 INFO L174 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2018-11-23 02:31:00,181 INFO L174 SettingsManager]: Resetting CodeCheck preferences to default values [2018-11-23 02:31:00,182 INFO L174 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2018-11-23 02:31:00,183 INFO L174 SettingsManager]: Resetting RCFGBuilder preferences to default values [2018-11-23 02:31:00,184 INFO L174 SettingsManager]: Resetting TraceAbstraction preferences to default values [2018-11-23 02:31:00,186 INFO L177 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2018-11-23 02:31:00,186 INFO L177 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2018-11-23 02:31:00,186 INFO L174 SettingsManager]: Resetting TreeAutomizer preferences to default values [2018-11-23 02:31:00,187 INFO L174 SettingsManager]: Resetting IcfgTransformer preferences to default values [2018-11-23 02:31:00,188 INFO L174 SettingsManager]: Resetting Boogie Printer preferences to default values [2018-11-23 02:31:00,188 INFO L174 SettingsManager]: Resetting ReqPrinter preferences to default values [2018-11-23 02:31:00,189 INFO L174 SettingsManager]: Resetting Witness Printer preferences to default values [2018-11-23 02:31:00,190 INFO L177 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2018-11-23 02:31:00,190 INFO L174 SettingsManager]: Resetting CDTParser preferences to default values [2018-11-23 02:31:00,190 INFO L177 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2018-11-23 02:31:00,190 INFO L177 SettingsManager]: ReqParser provides no preferences, ignoring... [2018-11-23 02:31:00,191 INFO L174 SettingsManager]: Resetting SmtParser preferences to default values [2018-11-23 02:31:00,191 INFO L174 SettingsManager]: Resetting Witness Parser preferences to default values [2018-11-23 02:31:00,192 INFO L181 SettingsManager]: Finished resetting all preferences to default values... [2018-11-23 02:31:00,192 INFO L98 SettingsManager]: Beginning loading settings from /tmp/vcloud-vcloud-master/worker/working_dir_06be7cd3-bc7e-415f-b0bf-44be4a922df1/bin-2019/uautomizer/config/svcomp-Reach-32bit-Automizer_Bitvector.epf [2018-11-23 02:31:00,203 INFO L110 SettingsManager]: Loading preferences was successful [2018-11-23 02:31:00,203 INFO L112 SettingsManager]: Preferences different from defaults after loading the file: [2018-11-23 02:31:00,204 INFO L131 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2018-11-23 02:31:00,204 INFO L133 SettingsManager]: * ... calls to implemented procedures=ONLY_FOR_CONCURRENT_PROGRAMS [2018-11-23 02:31:00,205 INFO L131 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2018-11-23 02:31:00,205 INFO L133 SettingsManager]: * Create parallel compositions if possible=false [2018-11-23 02:31:00,205 INFO L133 SettingsManager]: * Use SBE=true [2018-11-23 02:31:00,205 INFO L131 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2018-11-23 02:31:00,206 INFO L133 SettingsManager]: * sizeof long=4 [2018-11-23 02:31:00,206 INFO L133 SettingsManager]: * sizeof POINTER=4 [2018-11-23 02:31:00,206 INFO L133 SettingsManager]: * Check division by zero=IGNORE [2018-11-23 02:31:00,206 INFO L133 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2018-11-23 02:31:00,206 INFO L133 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2018-11-23 02:31:00,206 INFO L133 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2018-11-23 02:31:00,206 INFO L133 SettingsManager]: * Use bitvectors instead of ints=true [2018-11-23 02:31:00,207 INFO L133 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2018-11-23 02:31:00,207 INFO L133 SettingsManager]: * sizeof long double=12 [2018-11-23 02:31:00,207 INFO L133 SettingsManager]: * Check if freed pointer was valid=false [2018-11-23 02:31:00,207 INFO L133 SettingsManager]: * Use constant arrays=true [2018-11-23 02:31:00,207 INFO L133 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2018-11-23 02:31:00,208 INFO L131 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2018-11-23 02:31:00,208 INFO L133 SettingsManager]: * Size of a code block=SequenceOfStatements [2018-11-23 02:31:00,208 INFO L133 SettingsManager]: * To the following directory=./dump/ [2018-11-23 02:31:00,208 INFO L133 SettingsManager]: * SMT solver=External_DefaultMode [2018-11-23 02:31:00,208 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2018-11-23 02:31:00,208 INFO L131 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2018-11-23 02:31:00,209 INFO L133 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2018-11-23 02:31:00,209 INFO L133 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2018-11-23 02:31:00,209 INFO L133 SettingsManager]: * Trace refinement strategy=WOLF [2018-11-23 02:31:00,209 INFO L133 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2018-11-23 02:31:00,209 INFO L133 SettingsManager]: * Command for external solver=cvc4nyu --tear-down-incremental --rewrite-divk --print-success --lang smt [2018-11-23 02:31:00,209 INFO L133 SettingsManager]: * Logic for external solver=AUFBV [2018-11-23 02:31:00,209 INFO L133 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /tmp/vcloud-vcloud-master/worker/working_dir_06be7cd3-bc7e-415f-b0bf-44be4a922df1/bin-2019/uautomizer Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness.graphml Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G ! call(__VERIFIER_error())) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Automizer Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> 4632d05eeeec8083fb0c38c2d70eb822a2624ecb [2018-11-23 02:31:00,242 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2018-11-23 02:31:00,251 INFO L258 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2018-11-23 02:31:00,254 INFO L214 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2018-11-23 02:31:00,255 INFO L271 PluginConnector]: Initializing CDTParser... [2018-11-23 02:31:00,255 INFO L276 PluginConnector]: CDTParser initialized [2018-11-23 02:31:00,256 INFO L418 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud-vcloud-master/worker/working_dir_06be7cd3-bc7e-415f-b0bf-44be4a922df1/bin-2019/uautomizer/../../sv-benchmarks/c/float-newlib/double_req_bl_1210_false-unreach-call.c [2018-11-23 02:31:00,298 INFO L221 CDTParser]: Created temporary CDT project at /tmp/vcloud-vcloud-master/worker/working_dir_06be7cd3-bc7e-415f-b0bf-44be4a922df1/bin-2019/uautomizer/data/ae5d1c816/9870ef96f94344b9812e95da21933087/FLAGf99d1970d [2018-11-23 02:31:00,639 INFO L307 CDTParser]: Found 1 translation units. [2018-11-23 02:31:00,640 INFO L161 CDTParser]: Scanning /tmp/vcloud-vcloud-master/worker/working_dir_06be7cd3-bc7e-415f-b0bf-44be4a922df1/sv-benchmarks/c/float-newlib/double_req_bl_1210_false-unreach-call.c [2018-11-23 02:31:00,644 INFO L355 CDTParser]: About to delete temporary CDT project at /tmp/vcloud-vcloud-master/worker/working_dir_06be7cd3-bc7e-415f-b0bf-44be4a922df1/bin-2019/uautomizer/data/ae5d1c816/9870ef96f94344b9812e95da21933087/FLAGf99d1970d [2018-11-23 02:31:01,063 INFO L363 CDTParser]: Successfully deleted /tmp/vcloud-vcloud-master/worker/working_dir_06be7cd3-bc7e-415f-b0bf-44be4a922df1/bin-2019/uautomizer/data/ae5d1c816/9870ef96f94344b9812e95da21933087 [2018-11-23 02:31:01,065 INFO L296 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2018-11-23 02:31:01,066 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2018-11-23 02:31:01,067 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2018-11-23 02:31:01,067 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2018-11-23 02:31:01,070 INFO L276 PluginConnector]: CACSL2BoogieTranslator initialized [2018-11-23 02:31:01,070 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 02:31:01" (1/1) ... [2018-11-23 02:31:01,072 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@577b7d1f and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 02:31:01, skipping insertion in model container [2018-11-23 02:31:01,073 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 02:31:01" (1/1) ... [2018-11-23 02:31:01,079 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2018-11-23 02:31:01,099 INFO L176 MainTranslator]: Built tables and reachable declarations [2018-11-23 02:31:01,249 INFO L201 PostProcessor]: Analyzing one entry point: main [2018-11-23 02:31:01,259 INFO L191 MainTranslator]: Completed pre-run [2018-11-23 02:31:01,286 INFO L201 PostProcessor]: Analyzing one entry point: main [2018-11-23 02:31:01,298 INFO L195 MainTranslator]: Completed translation [2018-11-23 02:31:01,298 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 02:31:01 WrapperNode [2018-11-23 02:31:01,298 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2018-11-23 02:31:01,299 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2018-11-23 02:31:01,299 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2018-11-23 02:31:01,299 INFO L276 PluginConnector]: Boogie Procedure Inliner initialized [2018-11-23 02:31:01,304 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 02:31:01" (1/1) ... [2018-11-23 02:31:01,312 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 02:31:01" (1/1) ... [2018-11-23 02:31:01,317 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2018-11-23 02:31:01,317 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2018-11-23 02:31:01,317 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2018-11-23 02:31:01,317 INFO L276 PluginConnector]: Boogie Preprocessor initialized [2018-11-23 02:31:01,365 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 02:31:01" (1/1) ... [2018-11-23 02:31:01,365 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 02:31:01" (1/1) ... [2018-11-23 02:31:01,368 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 02:31:01" (1/1) ... [2018-11-23 02:31:01,368 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 02:31:01" (1/1) ... [2018-11-23 02:31:01,381 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 02:31:01" (1/1) ... [2018-11-23 02:31:01,386 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 02:31:01" (1/1) ... [2018-11-23 02:31:01,388 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 02:31:01" (1/1) ... [2018-11-23 02:31:01,391 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2018-11-23 02:31:01,392 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2018-11-23 02:31:01,392 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2018-11-23 02:31:01,392 INFO L276 PluginConnector]: RCFGBuilder initialized [2018-11-23 02:31:01,393 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 02:31:01" (1/1) ... No working directory specified, using /tmp/vcloud-vcloud-master/worker/working_dir_06be7cd3-bc7e-415f-b0bf-44be4a922df1/bin-2019/uautomizer/z3 Starting monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2018-11-23 02:31:01,425 INFO L130 BoogieDeclarations]: Found specification of procedure isnan_double [2018-11-23 02:31:01,426 INFO L138 BoogieDeclarations]: Found implementation of procedure isnan_double [2018-11-23 02:31:01,426 INFO L130 BoogieDeclarations]: Found specification of procedure read~intFLOATTYPE8 [2018-11-23 02:31:01,426 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.init [2018-11-23 02:31:01,426 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.init [2018-11-23 02:31:01,426 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.alloc [2018-11-23 02:31:01,426 INFO L130 BoogieDeclarations]: Found specification of procedure read~intINTTYPE4 [2018-11-23 02:31:01,426 INFO L130 BoogieDeclarations]: Found specification of procedure write~intFLOATTYPE8 [2018-11-23 02:31:01,426 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2018-11-23 02:31:01,426 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2018-11-23 02:31:01,426 INFO L130 BoogieDeclarations]: Found specification of procedure main [2018-11-23 02:31:01,427 INFO L138 BoogieDeclarations]: Found implementation of procedure main [2018-11-23 02:31:01,427 INFO L130 BoogieDeclarations]: Found specification of procedure modf_double [2018-11-23 02:31:01,427 INFO L138 BoogieDeclarations]: Found implementation of procedure modf_double [2018-11-23 02:31:01,427 INFO L130 BoogieDeclarations]: Found specification of procedure write~intINTTYPE4 [2018-11-23 02:31:01,427 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2018-11-23 02:31:01,596 WARN L317 ript$VariableManager]: TermVariabe |q#valueAsBitvector| not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 02:31:01,610 WARN L317 ript$VariableManager]: TermVariabe |q#valueAsBitvector| not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 02:31:01,640 WARN L317 ript$VariableManager]: TermVariabe |q#valueAsBitvector| not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 02:31:01,656 WARN L317 ript$VariableManager]: TermVariabe |q#valueAsBitvector| not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 02:31:01,807 WARN L317 ript$VariableManager]: TermVariabe |q#valueAsBitvector| not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 02:31:01,820 WARN L317 ript$VariableManager]: TermVariabe |q#valueAsBitvector| not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 02:31:01,830 WARN L317 ript$VariableManager]: TermVariabe |q#valueAsBitvector| not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 02:31:01,868 WARN L317 ript$VariableManager]: TermVariabe |q#valueAsBitvector| not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 02:31:02,314 WARN L317 ript$VariableManager]: TermVariabe |q#valueAsBitvector| not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 02:31:02,330 WARN L317 ript$VariableManager]: TermVariabe |q#valueAsBitvector| not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 02:31:02,343 INFO L275 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2018-11-23 02:31:02,343 INFO L280 CfgBuilder]: Removed 20 assue(true) statements. [2018-11-23 02:31:02,344 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 02:31:02 BoogieIcfgContainer [2018-11-23 02:31:02,344 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2018-11-23 02:31:02,344 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2018-11-23 02:31:02,344 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2018-11-23 02:31:02,346 INFO L276 PluginConnector]: TraceAbstraction initialized [2018-11-23 02:31:02,346 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 23.11 02:31:01" (1/3) ... [2018-11-23 02:31:02,347 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@372cebac and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 23.11 02:31:02, skipping insertion in model container [2018-11-23 02:31:02,347 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 02:31:01" (2/3) ... [2018-11-23 02:31:02,347 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@372cebac and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 23.11 02:31:02, skipping insertion in model container [2018-11-23 02:31:02,347 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 02:31:02" (3/3) ... [2018-11-23 02:31:02,349 INFO L112 eAbstractionObserver]: Analyzing ICFG double_req_bl_1210_false-unreach-call.c [2018-11-23 02:31:02,357 INFO L156 ceAbstractionStarter]: Automizer settings: Hoare:true NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2018-11-23 02:31:02,363 INFO L168 ceAbstractionStarter]: Appying trace abstraction to program that has 1 error locations. [2018-11-23 02:31:02,373 INFO L257 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2018-11-23 02:31:02,390 INFO L133 ementStrategyFactory]: Using default assertion order modulation [2018-11-23 02:31:02,391 INFO L382 AbstractCegarLoop]: Interprodecural is true [2018-11-23 02:31:02,391 INFO L383 AbstractCegarLoop]: Hoare is true [2018-11-23 02:31:02,391 INFO L384 AbstractCegarLoop]: Compute interpolants for FPandBP [2018-11-23 02:31:02,391 INFO L385 AbstractCegarLoop]: Backedges is STRAIGHT_LINE [2018-11-23 02:31:02,391 INFO L386 AbstractCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2018-11-23 02:31:02,391 INFO L387 AbstractCegarLoop]: Difference is false [2018-11-23 02:31:02,391 INFO L388 AbstractCegarLoop]: Minimize is MINIMIZE_SEVPA [2018-11-23 02:31:02,391 INFO L393 AbstractCegarLoop]: ======== Iteration 0==of CEGAR loop == AllErrorsAtOnce======== [2018-11-23 02:31:02,401 INFO L276 IsEmpty]: Start isEmpty. Operand 58 states. [2018-11-23 02:31:02,405 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 26 [2018-11-23 02:31:02,405 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 02:31:02,406 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 02:31:02,407 INFO L423 AbstractCegarLoop]: === Iteration 1 === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 02:31:02,410 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 02:31:02,410 INFO L82 PathProgramCache]: Analyzing trace with hash 204549601, now seen corresponding path program 1 times [2018-11-23 02:31:02,413 INFO L223 ckRefinementStrategy]: Switched to mode MATHSAT_FPBP [2018-11-23 02:31:02,414 INFO L69 tionRefinementEngine]: Using refinement strategy WolfRefinementStrategy No working directory specified, using /tmp/vcloud-vcloud-master/worker/working_dir_06be7cd3-bc7e-415f-b0bf-44be4a922df1/bin-2019/uautomizer/mathsat Starting monitored process 2 with mathsat -unsat_core_generation=3 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 2 with mathsat -unsat_core_generation=3 [2018-11-23 02:31:02,418 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 02:31:02,466 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 02:31:02,472 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-23 02:31:02,485 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 02:31:02,485 INFO L312 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2018-11-23 02:31:02,495 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-23 02:31:02,496 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2018-11-23 02:31:02,498 INFO L459 AbstractCegarLoop]: Interpolant automaton has 2 states [2018-11-23 02:31:02,506 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2018-11-23 02:31:02,506 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2018-11-23 02:31:02,507 INFO L87 Difference]: Start difference. First operand 58 states. Second operand 2 states. [2018-11-23 02:31:02,525 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 02:31:02,525 INFO L93 Difference]: Finished difference Result 108 states and 162 transitions. [2018-11-23 02:31:02,525 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2018-11-23 02:31:02,526 INFO L78 Accepts]: Start accepts. Automaton has 2 states. Word has length 25 [2018-11-23 02:31:02,526 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 02:31:02,533 INFO L225 Difference]: With dead ends: 108 [2018-11-23 02:31:02,533 INFO L226 Difference]: Without dead ends: 54 [2018-11-23 02:31:02,535 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 24 GetRequests, 24 SyntacticMatches, 0 SemanticMatches, 0 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2018-11-23 02:31:02,545 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 54 states. [2018-11-23 02:31:02,559 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 54 to 54. [2018-11-23 02:31:02,560 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 54 states. [2018-11-23 02:31:02,561 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 54 states to 54 states and 60 transitions. [2018-11-23 02:31:02,562 INFO L78 Accepts]: Start accepts. Automaton has 54 states and 60 transitions. Word has length 25 [2018-11-23 02:31:02,562 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 02:31:02,562 INFO L480 AbstractCegarLoop]: Abstraction has 54 states and 60 transitions. [2018-11-23 02:31:02,562 INFO L481 AbstractCegarLoop]: Interpolant automaton has 2 states. [2018-11-23 02:31:02,563 INFO L276 IsEmpty]: Start isEmpty. Operand 54 states and 60 transitions. [2018-11-23 02:31:02,564 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 28 [2018-11-23 02:31:02,564 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 02:31:02,564 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 02:31:02,564 INFO L423 AbstractCegarLoop]: === Iteration 2 === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 02:31:02,564 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 02:31:02,565 INFO L82 PathProgramCache]: Analyzing trace with hash 1987482264, now seen corresponding path program 1 times [2018-11-23 02:31:02,565 INFO L223 ckRefinementStrategy]: Switched to mode MATHSAT_FPBP [2018-11-23 02:31:02,565 INFO L69 tionRefinementEngine]: Using refinement strategy WolfRefinementStrategy No working directory specified, using /tmp/vcloud-vcloud-master/worker/working_dir_06be7cd3-bc7e-415f-b0bf-44be4a922df1/bin-2019/uautomizer/mathsat Starting monitored process 3 with mathsat -unsat_core_generation=3 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 3 with mathsat -unsat_core_generation=3 [2018-11-23 02:31:02,568 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 02:31:02,619 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 02:31:02,626 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-23 02:31:02,783 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 02:31:02,783 INFO L312 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2018-11-23 02:31:02,790 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-23 02:31:02,790 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [7] imperfect sequences [] total 7 [2018-11-23 02:31:02,791 INFO L459 AbstractCegarLoop]: Interpolant automaton has 7 states [2018-11-23 02:31:02,792 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 7 interpolants. [2018-11-23 02:31:02,792 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=11, Invalid=31, Unknown=0, NotChecked=0, Total=42 [2018-11-23 02:31:02,792 INFO L87 Difference]: Start difference. First operand 54 states and 60 transitions. Second operand 7 states. [2018-11-23 02:31:05,830 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 02:31:05,830 INFO L93 Difference]: Finished difference Result 72 states and 79 transitions. [2018-11-23 02:31:05,832 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 9 states. [2018-11-23 02:31:05,832 INFO L78 Accepts]: Start accepts. Automaton has 7 states. Word has length 27 [2018-11-23 02:31:05,832 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 02:31:05,833 INFO L225 Difference]: With dead ends: 72 [2018-11-23 02:31:05,834 INFO L226 Difference]: Without dead ends: 43 [2018-11-23 02:31:05,834 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 31 GetRequests, 21 SyntacticMatches, 0 SemanticMatches, 10 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 7 ImplicationChecksByTransitivity, 0.3s TimeCoverageRelationStatistics Valid=42, Invalid=90, Unknown=0, NotChecked=0, Total=132 [2018-11-23 02:31:05,835 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 43 states. [2018-11-23 02:31:05,840 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 43 to 41. [2018-11-23 02:31:05,840 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 41 states. [2018-11-23 02:31:05,841 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 41 states to 41 states and 44 transitions. [2018-11-23 02:31:05,841 INFO L78 Accepts]: Start accepts. Automaton has 41 states and 44 transitions. Word has length 27 [2018-11-23 02:31:05,841 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 02:31:05,841 INFO L480 AbstractCegarLoop]: Abstraction has 41 states and 44 transitions. [2018-11-23 02:31:05,842 INFO L481 AbstractCegarLoop]: Interpolant automaton has 7 states. [2018-11-23 02:31:05,842 INFO L276 IsEmpty]: Start isEmpty. Operand 41 states and 44 transitions. [2018-11-23 02:31:05,842 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 29 [2018-11-23 02:31:05,843 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 02:31:05,843 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 02:31:05,843 INFO L423 AbstractCegarLoop]: === Iteration 3 === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 02:31:05,843 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 02:31:05,843 INFO L82 PathProgramCache]: Analyzing trace with hash 1705207589, now seen corresponding path program 1 times [2018-11-23 02:31:05,844 INFO L223 ckRefinementStrategy]: Switched to mode MATHSAT_FPBP [2018-11-23 02:31:05,844 INFO L69 tionRefinementEngine]: Using refinement strategy WolfRefinementStrategy No working directory specified, using /tmp/vcloud-vcloud-master/worker/working_dir_06be7cd3-bc7e-415f-b0bf-44be4a922df1/bin-2019/uautomizer/mathsat Starting monitored process 4 with mathsat -unsat_core_generation=3 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 4 with mathsat -unsat_core_generation=3 [2018-11-23 02:31:05,846 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 02:31:05,947 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 02:31:05,958 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-23 02:31:05,963 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 02:31:05,964 INFO L312 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2018-11-23 02:31:05,975 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-23 02:31:05,975 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2018-11-23 02:31:05,976 INFO L459 AbstractCegarLoop]: Interpolant automaton has 3 states [2018-11-23 02:31:05,976 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2018-11-23 02:31:05,976 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2018-11-23 02:31:05,976 INFO L87 Difference]: Start difference. First operand 41 states and 44 transitions. Second operand 3 states. [2018-11-23 02:31:05,984 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 02:31:05,984 INFO L93 Difference]: Finished difference Result 44 states and 46 transitions. [2018-11-23 02:31:05,984 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2018-11-23 02:31:05,984 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 28 [2018-11-23 02:31:05,985 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 02:31:05,985 INFO L225 Difference]: With dead ends: 44 [2018-11-23 02:31:05,985 INFO L226 Difference]: Without dead ends: 41 [2018-11-23 02:31:05,986 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 27 GetRequests, 26 SyntacticMatches, 0 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2018-11-23 02:31:05,986 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 41 states. [2018-11-23 02:31:05,991 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 41 to 41. [2018-11-23 02:31:05,991 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 41 states. [2018-11-23 02:31:05,992 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 41 states to 41 states and 43 transitions. [2018-11-23 02:31:05,992 INFO L78 Accepts]: Start accepts. Automaton has 41 states and 43 transitions. Word has length 28 [2018-11-23 02:31:05,993 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 02:31:05,993 INFO L480 AbstractCegarLoop]: Abstraction has 41 states and 43 transitions. [2018-11-23 02:31:05,994 INFO L481 AbstractCegarLoop]: Interpolant automaton has 3 states. [2018-11-23 02:31:05,994 INFO L276 IsEmpty]: Start isEmpty. Operand 41 states and 43 transitions. [2018-11-23 02:31:05,994 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 34 [2018-11-23 02:31:05,994 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 02:31:05,994 INFO L402 BasicCegarLoop]: trace histogram [2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 02:31:05,994 INFO L423 AbstractCegarLoop]: === Iteration 4 === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 02:31:05,995 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 02:31:05,995 INFO L82 PathProgramCache]: Analyzing trace with hash -1088160399, now seen corresponding path program 1 times [2018-11-23 02:31:05,995 INFO L223 ckRefinementStrategy]: Switched to mode MATHSAT_FPBP [2018-11-23 02:31:05,995 INFO L69 tionRefinementEngine]: Using refinement strategy WolfRefinementStrategy No working directory specified, using /tmp/vcloud-vcloud-master/worker/working_dir_06be7cd3-bc7e-415f-b0bf-44be4a922df1/bin-2019/uautomizer/mathsat Starting monitored process 5 with mathsat -unsat_core_generation=3 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 5 with mathsat -unsat_core_generation=3 [2018-11-23 02:31:05,997 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 02:31:06,107 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 02:31:06,120 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-23 02:31:06,283 INFO L303 Elim1Store]: Index analysis took 123 ms [2018-11-23 02:31:06,287 INFO L478 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 2, 0 stores, 1 select indices, 1 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 48 treesize of output 36 [2018-11-23 02:31:06,410 INFO L701 Elim1Store]: detected not equals via solver [2018-11-23 02:31:06,448 INFO L303 Elim1Store]: Index analysis took 160 ms [2018-11-23 02:31:06,449 INFO L478 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 0 stores, 2 select indices, 2 select index equivalence classes, 1 disjoint index pairs (out of 1 index pairs), introduced 2 new quantified variables, introduced 0 case distinctions, treesize of input 36 treesize of output 25 [2018-11-23 02:31:06,450 INFO L267 ElimStorePlain]: Start of recursive call 3: 2 dim-0 vars, End of recursive call: 2 dim-0 vars, and 1 xjuncts. [2018-11-23 02:31:06,742 INFO L267 ElimStorePlain]: Start of recursive call 2: 1 dim-1 vars, End of recursive call: 2 dim-0 vars, and 1 xjuncts. [2018-11-23 02:31:06,836 INFO L267 ElimStorePlain]: Start of recursive call 1: 2 dim-0 vars, 1 dim-2 vars, End of recursive call: 2 dim-0 vars, and 1 xjuncts. [2018-11-23 02:31:06,837 INFO L202 ElimStorePlain]: Needed 3 recursive calls to eliminate 3 variables, input treesize:48, output treesize:18 [2018-11-23 02:31:08,895 WARN L854 $PredicateComparison]: unable to prove that (exists ((v_arrayElimCell_2 (_ BitVec 32)) (v_arrayElimCell_3 (_ BitVec 32))) (= (fp.sub roundNearestTiesToEven |c_modf_double_#in~x| (let ((.cse0 (concat v_arrayElimCell_3 v_arrayElimCell_2))) (fp ((_ extract 63 63) .cse0) ((_ extract 62 52) .cse0) ((_ extract 51 0) .cse0)))) |c_modf_double_#res|)) is different from true [2018-11-23 02:31:09,040 INFO L134 CoverageAnalysis]: Checked inductivity of 3 backedges. 2 proven. 0 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2018-11-23 02:31:09,041 INFO L312 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2018-11-23 02:31:09,052 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-23 02:31:09,052 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [10] imperfect sequences [] total 10 [2018-11-23 02:31:09,052 INFO L459 AbstractCegarLoop]: Interpolant automaton has 10 states [2018-11-23 02:31:09,052 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 10 interpolants. [2018-11-23 02:31:09,053 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=17, Invalid=58, Unknown=1, NotChecked=14, Total=90 [2018-11-23 02:31:09,053 INFO L87 Difference]: Start difference. First operand 41 states and 43 transitions. Second operand 10 states. [2018-11-23 02:31:15,307 WARN L180 SmtUtils]: Spent 2.29 s on a formula simplification that was a NOOP. DAG size: 16 [2018-11-23 02:31:15,814 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 02:31:15,814 INFO L93 Difference]: Finished difference Result 52 states and 55 transitions. [2018-11-23 02:31:15,815 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 10 states. [2018-11-23 02:31:15,815 INFO L78 Accepts]: Start accepts. Automaton has 10 states. Word has length 33 [2018-11-23 02:31:15,815 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 02:31:15,815 INFO L225 Difference]: With dead ends: 52 [2018-11-23 02:31:15,815 INFO L226 Difference]: Without dead ends: 38 [2018-11-23 02:31:15,816 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 37 GetRequests, 24 SyntacticMatches, 0 SemanticMatches, 13 ConstructedPredicates, 1 IntricatePredicates, 0 DeprecatedPredicates, 7 ImplicationChecksByTransitivity, 7.2s TimeCoverageRelationStatistics Valid=42, Invalid=142, Unknown=2, NotChecked=24, Total=210 [2018-11-23 02:31:15,816 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 38 states. [2018-11-23 02:31:15,820 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 38 to 38. [2018-11-23 02:31:15,820 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 38 states. [2018-11-23 02:31:15,821 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 38 states to 38 states and 39 transitions. [2018-11-23 02:31:15,821 INFO L78 Accepts]: Start accepts. Automaton has 38 states and 39 transitions. Word has length 33 [2018-11-23 02:31:15,821 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 02:31:15,821 INFO L480 AbstractCegarLoop]: Abstraction has 38 states and 39 transitions. [2018-11-23 02:31:15,821 INFO L481 AbstractCegarLoop]: Interpolant automaton has 10 states. [2018-11-23 02:31:15,821 INFO L276 IsEmpty]: Start isEmpty. Operand 38 states and 39 transitions. [2018-11-23 02:31:15,822 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 35 [2018-11-23 02:31:15,822 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 02:31:15,822 INFO L402 BasicCegarLoop]: trace histogram [2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 02:31:15,823 INFO L423 AbstractCegarLoop]: === Iteration 5 === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 02:31:15,823 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 02:31:15,823 INFO L82 PathProgramCache]: Analyzing trace with hash 2004349664, now seen corresponding path program 1 times [2018-11-23 02:31:15,823 INFO L223 ckRefinementStrategy]: Switched to mode MATHSAT_FPBP [2018-11-23 02:31:15,823 INFO L69 tionRefinementEngine]: Using refinement strategy WolfRefinementStrategy No working directory specified, using /tmp/vcloud-vcloud-master/worker/working_dir_06be7cd3-bc7e-415f-b0bf-44be4a922df1/bin-2019/uautomizer/mathsat Starting monitored process 6 with mathsat -unsat_core_generation=3 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 6 with mathsat -unsat_core_generation=3 [2018-11-23 02:31:15,826 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 02:31:16,152 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 02:31:16,504 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 02:31:16,589 INFO L469 BasicCegarLoop]: Counterexample might be feasible ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.RCFGBacktranslator [?] CALL call ULTIMATE.init(); VAL [|#NULL.base|=(_ bv6 32), |#NULL.offset|=(_ bv5 32), |old(#NULL.base)|=(_ bv6 32), |old(#NULL.offset)|=(_ bv5 32), |old(~one_modf~0)|=(fp #b0 #b00000000000 #b0000000000000000000000000000000000000000000000000101), ~one_modf~0=(fp #b0 #b00000000000 #b0000000000000000000000000000000000000000000000000101)] [?] #NULL.base, #NULL.offset := 0bv32, 0bv32;#valid := #valid[0bv32 := 0bv1];~one_modf~0 := ~to_fp~DOUBLE(~roundNearestTiesToEven, 1.0); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |old(#NULL.base)|=(_ bv6 32), |old(#NULL.offset)|=(_ bv5 32), |old(~one_modf~0)|=(fp #b0 #b00000000000 #b0000000000000000000000000000000000000000000000000101), ~one_modf~0=(fp #b0 #b01111111111 #b0000000000000000000000000000000000000000000000000000)] [?] assume true; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |old(#NULL.base)|=(_ bv6 32), |old(#NULL.offset)|=(_ bv5 32), |old(~one_modf~0)|=(fp #b0 #b00000000000 #b0000000000000000000000000000000000000000000000000101), ~one_modf~0=(fp #b0 #b01111111111 #b0000000000000000000000000000000000000000000000000000)] [?] RET #174#return; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111111 #b0000000000000000000000000000000000000000000000000000)] [?] CALL call #t~ret26 := main(); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111111 #b0000000000000000000000000000000000000000000000000000)] [?] ~x~0 := ~fp.div~DOUBLE(~roundNearestTiesToEven, ~Pluszero~DOUBLE(), ~Pluszero~DOUBLE());call ~#iptr~0.base, ~#iptr~0.offset := #Ultimate.alloc(8bv32); VAL [main_~x~0=(_ NaN 11 53), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#iptr~0.base|=(_ bv2 32), |main_~#iptr~0.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111111 #b0000000000000000000000000000000000000000000000000000)] [?] CALL call #t~ret21 := modf_double(~x~0, ~#iptr~0.base, ~#iptr~0.offset); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_double_#in~iptr.base|=(_ bv2 32), |modf_double_#in~iptr.offset|=(_ bv0 32), |modf_double_#in~x|=(_ NaN 11 53), ~one_modf~0=(fp #b0 #b01111111111 #b0000000000000000000000000000000000000000000000000000)] [?] ~x := #in~x;~iptr.base, ~iptr.offset := #in~iptr.base, #in~iptr.offset;havoc ~i0~0;havoc ~i1~0;havoc ~j0~0;havoc ~i~0; VAL [modf_double_~iptr.base=(_ bv2 32), modf_double_~iptr.offset=(_ bv0 32), modf_double_~x=(_ NaN 11 53), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_double_#in~iptr.base|=(_ bv2 32), |modf_double_#in~iptr.offset|=(_ bv0 32), |modf_double_#in~x|=(_ NaN 11 53), ~one_modf~0=(fp #b0 #b01111111111 #b0000000000000000000000000000000000000000000000000000)] [?] call ~#ew_u~0.base, ~#ew_u~0.offset := #Ultimate.alloc(8bv32);call write~intFLOATTYPE8(~x, ~#ew_u~0.base, ~#ew_u~0.offset, 8bv32);call #t~mem0 := read~intINTTYPE4(~#ew_u~0.base, ~bvadd32(4bv32, ~#ew_u~0.offset), 4bv32);~i0~0 := #t~mem0;call write~intFLOATTYPE8(#t~union1, ~#ew_u~0.base, ~#ew_u~0.offset, 8bv32);havoc #t~union1;havoc #t~mem0;call #t~mem2 := read~intINTTYPE4(~#ew_u~0.base, ~#ew_u~0.offset, 4bv32);~i1~0 := #t~mem2;call write~intFLOATTYPE8(#t~union3, ~#ew_u~0.base, ~#ew_u~0.offset, 8bv32);havoc #t~mem2;havoc #t~union3;call ULTIMATE.dealloc(~#ew_u~0.base, ~#ew_u~0.offset);havoc ~#ew_u~0.base, ~#ew_u~0.offset; VAL [modf_double_~i0~0=(_ bv2146959360 32), modf_double_~i1~0=(_ bv0 32), modf_double_~iptr.base=(_ bv2 32), modf_double_~iptr.offset=(_ bv0 32), modf_double_~x=(_ NaN 11 53), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_double_#in~iptr.base|=(_ bv2 32), |modf_double_#in~iptr.offset|=(_ bv0 32), |modf_double_#in~x|=(_ NaN 11 53), ~one_modf~0=(fp #b0 #b01111111111 #b0000000000000000000000000000000000000000000000000000)] [?] goto; VAL [modf_double_~i0~0=(_ bv2146959360 32), modf_double_~i1~0=(_ bv0 32), modf_double_~iptr.base=(_ bv2 32), modf_double_~iptr.offset=(_ bv0 32), modf_double_~x=(_ NaN 11 53), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_double_#in~iptr.base|=(_ bv2 32), |modf_double_#in~iptr.offset|=(_ bv0 32), |modf_double_#in~x|=(_ NaN 11 53), ~one_modf~0=(fp #b0 #b01111111111 #b0000000000000000000000000000000000000000000000000000)] [?] ~j0~0 := ~bvsub32(~bvand32(2047bv32, ~bvashr32(~i0~0, 20bv32)), 1023bv32); VAL [modf_double_~i0~0=(_ bv2146959360 32), modf_double_~i1~0=(_ bv0 32), modf_double_~iptr.base=(_ bv2 32), modf_double_~iptr.offset=(_ bv0 32), modf_double_~j0~0=(_ bv1024 32), modf_double_~x=(_ NaN 11 53), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_double_#in~iptr.base|=(_ bv2 32), |modf_double_#in~iptr.offset|=(_ bv0 32), |modf_double_#in~x|=(_ NaN 11 53), ~one_modf~0=(fp #b0 #b01111111111 #b0000000000000000000000000000000000000000000000000000)] [?] assume !~bvslt32(~j0~0, 20bv32); VAL [modf_double_~i0~0=(_ bv2146959360 32), modf_double_~i1~0=(_ bv0 32), modf_double_~iptr.base=(_ bv2 32), modf_double_~iptr.offset=(_ bv0 32), modf_double_~j0~0=(_ bv1024 32), modf_double_~x=(_ NaN 11 53), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_double_#in~iptr.base|=(_ bv2 32), |modf_double_#in~iptr.offset|=(_ bv0 32), |modf_double_#in~x|=(_ NaN 11 53), ~one_modf~0=(fp #b0 #b01111111111 #b0000000000000000000000000000000000000000000000000000)] [?] assume ~bvsgt32(~j0~0, 51bv32);havoc ~high~1;call write~intFLOATTYPE8(~fp.mul~DOUBLE(~roundNearestTiesToEven, ~x, ~one_modf~0), ~iptr.base, ~iptr.offset, 8bv32); VAL [modf_double_~i0~0=(_ bv2146959360 32), modf_double_~i1~0=(_ bv0 32), modf_double_~iptr.base=(_ bv2 32), modf_double_~iptr.offset=(_ bv0 32), modf_double_~j0~0=(_ bv1024 32), modf_double_~x=(_ NaN 11 53), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_double_#in~iptr.base|=(_ bv2 32), |modf_double_#in~iptr.offset|=(_ bv0 32), |modf_double_#in~x|=(_ NaN 11 53), ~one_modf~0=(fp #b0 #b01111111111 #b0000000000000000000000000000000000000000000000000000)] [?] call ~#gh_u~1.base, ~#gh_u~1.offset := #Ultimate.alloc(8bv32);call write~intFLOATTYPE8(~x, ~#gh_u~1.base, ~#gh_u~1.offset, 8bv32);call #t~mem11 := read~intINTTYPE4(~#gh_u~1.base, ~bvadd32(4bv32, ~#gh_u~1.offset), 4bv32);~high~1 := #t~mem11;call write~intFLOATTYPE8(#t~union12, ~#gh_u~1.base, ~#gh_u~1.offset, 8bv32);havoc #t~mem11;havoc #t~union12;call ULTIMATE.dealloc(~#gh_u~1.base, ~#gh_u~1.offset);havoc ~#gh_u~1.base, ~#gh_u~1.offset; VAL [modf_double_~high~1=(_ bv2146959360 32), modf_double_~i0~0=(_ bv2146959360 32), modf_double_~i1~0=(_ bv0 32), modf_double_~iptr.base=(_ bv2 32), modf_double_~iptr.offset=(_ bv0 32), modf_double_~j0~0=(_ bv1024 32), modf_double_~x=(_ NaN 11 53), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_double_#in~iptr.base|=(_ bv2 32), |modf_double_#in~iptr.offset|=(_ bv0 32), |modf_double_#in~x|=(_ NaN 11 53), ~one_modf~0=(fp #b0 #b01111111111 #b0000000000000000000000000000000000000000000000000000)] [?] goto; VAL [modf_double_~high~1=(_ bv2146959360 32), modf_double_~i0~0=(_ bv2146959360 32), modf_double_~i1~0=(_ bv0 32), modf_double_~iptr.base=(_ bv2 32), modf_double_~iptr.offset=(_ bv0 32), modf_double_~j0~0=(_ bv1024 32), modf_double_~x=(_ NaN 11 53), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_double_#in~iptr.base|=(_ bv2 32), |modf_double_#in~iptr.offset|=(_ bv0 32), |modf_double_#in~x|=(_ NaN 11 53), ~one_modf~0=(fp #b0 #b01111111111 #b0000000000000000000000000000000000000000000000000000)] [?] call ~#iw_u~3.base, ~#iw_u~3.offset := #Ultimate.alloc(8bv32);call write~intINTTYPE4(~bvand32(2147483648bv32, ~high~1), ~#iw_u~3.base, ~bvadd32(4bv32, ~#iw_u~3.offset), 4bv32);call write~intINTTYPE4(0bv32, ~#iw_u~3.base, ~#iw_u~3.offset, 4bv32);call #t~mem13 := read~intFLOATTYPE8(~#iw_u~3.base, ~#iw_u~3.offset, 8bv32);~x := #t~mem13;call write~intINTTYPE4(#t~union14.lsw, ~#iw_u~3.base, ~#iw_u~3.offset, 4bv32);call write~intINTTYPE4(#t~union14.msw, ~#iw_u~3.base, ~bvadd32(4bv32, ~#iw_u~3.offset), 4bv32);havoc #t~union14.lsw, #t~union14.msw;havoc #t~mem13;call ULTIMATE.dealloc(~#iw_u~3.base, ~#iw_u~3.offset);havoc ~#iw_u~3.base, ~#iw_u~3.offset; VAL [modf_double_~high~1=(_ bv2146959360 32), modf_double_~i0~0=(_ bv2146959360 32), modf_double_~i1~0=(_ bv0 32), modf_double_~iptr.base=(_ bv2 32), modf_double_~iptr.offset=(_ bv0 32), modf_double_~j0~0=(_ bv1024 32), modf_double_~x=(fp #b0 #b00000000000 #b0000000000000000000000000000000000000000000000000000), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_double_#in~iptr.base|=(_ bv2 32), |modf_double_#in~iptr.offset|=(_ bv0 32), |modf_double_#in~x|=(_ NaN 11 53), ~one_modf~0=(fp #b0 #b01111111111 #b0000000000000000000000000000000000000000000000000000)] [?] goto; VAL [modf_double_~high~1=(_ bv2146959360 32), modf_double_~i0~0=(_ bv2146959360 32), modf_double_~i1~0=(_ bv0 32), modf_double_~iptr.base=(_ bv2 32), modf_double_~iptr.offset=(_ bv0 32), modf_double_~j0~0=(_ bv1024 32), modf_double_~x=(fp #b0 #b00000000000 #b0000000000000000000000000000000000000000000000000000), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_double_#in~iptr.base|=(_ bv2 32), |modf_double_#in~iptr.offset|=(_ bv0 32), |modf_double_#in~x|=(_ NaN 11 53), ~one_modf~0=(fp #b0 #b01111111111 #b0000000000000000000000000000000000000000000000000000)] [?] #res := ~x; VAL [modf_double_~high~1=(_ bv2146959360 32), modf_double_~i0~0=(_ bv2146959360 32), modf_double_~i1~0=(_ bv0 32), modf_double_~iptr.base=(_ bv2 32), modf_double_~iptr.offset=(_ bv0 32), modf_double_~j0~0=(_ bv1024 32), modf_double_~x=(fp #b0 #b00000000000 #b0000000000000000000000000000000000000000000000000000), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_double_#in~iptr.base|=(_ bv2 32), |modf_double_#in~iptr.offset|=(_ bv0 32), |modf_double_#in~x|=(_ NaN 11 53), |modf_double_#res|=(fp #b0 #b00000000000 #b0000000000000000000000000000000000000000000000000000), ~one_modf~0=(fp #b0 #b01111111111 #b0000000000000000000000000000000000000000000000000000)] [?] assume true; VAL [modf_double_~high~1=(_ bv2146959360 32), modf_double_~i0~0=(_ bv2146959360 32), modf_double_~i1~0=(_ bv0 32), modf_double_~iptr.base=(_ bv2 32), modf_double_~iptr.offset=(_ bv0 32), modf_double_~j0~0=(_ bv1024 32), modf_double_~x=(fp #b0 #b00000000000 #b0000000000000000000000000000000000000000000000000000), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_double_#in~iptr.base|=(_ bv2 32), |modf_double_#in~iptr.offset|=(_ bv0 32), |modf_double_#in~x|=(_ NaN 11 53), |modf_double_#res|=(fp #b0 #b00000000000 #b0000000000000000000000000000000000000000000000000000), ~one_modf~0=(fp #b0 #b01111111111 #b0000000000000000000000000000000000000000000000000000)] [?] RET #178#return; VAL [main_~x~0=(_ NaN 11 53), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~ret21|=(fp #b0 #b00000000000 #b0000000000000000000000000000000000000000000000000000), |main_~#iptr~0.base|=(_ bv2 32), |main_~#iptr~0.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111111 #b0000000000000000000000000000000000000000000000000000)] [?] ~res~0 := #t~ret21;havoc #t~ret21;call #t~mem22 := read~intFLOATTYPE8(~#iptr~0.base, ~#iptr~0.offset, 8bv32); VAL [main_~res~0=(fp #b0 #b00000000000 #b0000000000000000000000000000000000000000000000000000), main_~x~0=(_ NaN 11 53), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~mem22|=(_ NaN 11 53), |main_~#iptr~0.base|=(_ bv2 32), |main_~#iptr~0.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111111 #b0000000000000000000000000000000000000000000000000000)] [?] CALL call #t~ret23 := isnan_double(#t~mem22); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |isnan_double_#in~x|=(_ NaN 11 53), ~one_modf~0=(fp #b0 #b01111111111 #b0000000000000000000000000000000000000000000000000000)] [?] ~x := #in~x;#res := (if !~fp.eq~DOUBLE(~x, ~x) then 1bv32 else 0bv32); VAL [isnan_double_~x=(_ NaN 11 53), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |isnan_double_#in~x|=(_ NaN 11 53), |isnan_double_#res|=(_ bv1 32), ~one_modf~0=(fp #b0 #b01111111111 #b0000000000000000000000000000000000000000000000000000)] [?] assume true; VAL [isnan_double_~x=(_ NaN 11 53), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |isnan_double_#in~x|=(_ NaN 11 53), |isnan_double_#res|=(_ bv1 32), ~one_modf~0=(fp #b0 #b01111111111 #b0000000000000000000000000000000000000000000000000000)] [?] RET #180#return; VAL [main_~res~0=(fp #b0 #b00000000000 #b0000000000000000000000000000000000000000000000000000), main_~x~0=(_ NaN 11 53), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~mem22|=(_ NaN 11 53), |main_#t~ret23|=(_ bv1 32), |main_~#iptr~0.base|=(_ bv2 32), |main_~#iptr~0.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111111 #b0000000000000000000000000000000000000000000000000000)] [?] #t~short25 := 0bv32 != #t~ret23; VAL [main_~res~0=(fp #b0 #b00000000000 #b0000000000000000000000000000000000000000000000000000), main_~x~0=(_ NaN 11 53), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~mem22|=(_ NaN 11 53), |main_#t~ret23|=(_ bv1 32), |main_#t~short25|=true, |main_~#iptr~0.base|=(_ bv2 32), |main_~#iptr~0.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111111 #b0000000000000000000000000000000000000000000000000000)] [?] assume #t~short25; VAL [main_~res~0=(fp #b0 #b00000000000 #b0000000000000000000000000000000000000000000000000000), main_~x~0=(_ NaN 11 53), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~mem22|=(_ NaN 11 53), |main_#t~ret23|=(_ bv1 32), |main_#t~short25|=true, |main_~#iptr~0.base|=(_ bv2 32), |main_~#iptr~0.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111111 #b0000000000000000000000000000000000000000000000000000)] [?] CALL call #t~ret24 := isnan_double(~res~0); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |isnan_double_#in~x|=(fp #b0 #b00000000000 #b0000000000000000000000000000000000000000000000000000), ~one_modf~0=(fp #b0 #b01111111111 #b0000000000000000000000000000000000000000000000000000)] [?] ~x := #in~x;#res := (if !~fp.eq~DOUBLE(~x, ~x) then 1bv32 else 0bv32); VAL [isnan_double_~x=(fp #b0 #b00000000000 #b0000000000000000000000000000000000000000000000000000), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |isnan_double_#in~x|=(fp #b0 #b00000000000 #b0000000000000000000000000000000000000000000000000000), |isnan_double_#res|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111111 #b0000000000000000000000000000000000000000000000000000)] [?] assume true; VAL [isnan_double_~x=(fp #b0 #b00000000000 #b0000000000000000000000000000000000000000000000000000), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |isnan_double_#in~x|=(fp #b0 #b00000000000 #b0000000000000000000000000000000000000000000000000000), |isnan_double_#res|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111111 #b0000000000000000000000000000000000000000000000000000)] [?] RET #182#return; VAL [main_~res~0=(fp #b0 #b00000000000 #b0000000000000000000000000000000000000000000000000000), main_~x~0=(_ NaN 11 53), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~mem22|=(_ NaN 11 53), |main_#t~ret23|=(_ bv1 32), |main_#t~ret24|=(_ bv0 32), |main_#t~short25|=true, |main_~#iptr~0.base|=(_ bv2 32), |main_~#iptr~0.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111111 #b0000000000000000000000000000000000000000000000000000)] [?] #t~short25 := 0bv32 == #t~ret24; VAL [main_~res~0=(fp #b0 #b00000000000 #b0000000000000000000000000000000000000000000000000000), main_~x~0=(_ NaN 11 53), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~mem22|=(_ NaN 11 53), |main_#t~ret23|=(_ bv1 32), |main_#t~ret24|=(_ bv0 32), |main_#t~short25|=true, |main_~#iptr~0.base|=(_ bv2 32), |main_~#iptr~0.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111111 #b0000000000000000000000000000000000000000000000000000)] [?] assume #t~short25;havoc #t~ret23;havoc #t~short25;havoc #t~ret24;havoc #t~mem22; VAL [main_~res~0=(fp #b0 #b00000000000 #b0000000000000000000000000000000000000000000000000000), main_~x~0=(_ NaN 11 53), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#iptr~0.base|=(_ bv2 32), |main_~#iptr~0.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111111 #b0000000000000000000000000000000000000000000000000000)] [?] assume !false; VAL [main_~res~0=(fp #b0 #b00000000000 #b0000000000000000000000000000000000000000000000000000), main_~x~0=(_ NaN 11 53), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#iptr~0.base|=(_ bv2 32), |main_~#iptr~0.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111111 #b0000000000000000000000000000000000000000000000000000)] [?] CALL call ULTIMATE.init(); VAL [#NULL.base=6bv32, #NULL.offset=5bv32, old(#NULL.base)=6bv32, old(#NULL.offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv11, 5bv52), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 0bv11, 5bv52)] [?] #NULL.base, #NULL.offset := 0bv32, 0bv32; [?] #valid := #valid[0bv32 := 0bv1]; [L17] ~one_modf~0 := ~to_fp~DOUBLE(~roundNearestTiesToEven, 1.0); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=6bv32, old(#NULL.offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv11, 5bv52), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [?] ensures true; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=6bv32, old(#NULL.offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv11, 5bv52), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [?] RET call ULTIMATE.init(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [?] CALL call #t~ret26 := main(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [L116] ~x~0 := ~fp.div~DOUBLE(~roundNearestTiesToEven, ~Pluszero~DOUBLE(), ~Pluszero~DOUBLE()); [L117] call ~#iptr~0.base, ~#iptr~0.offset := #Ultimate.alloc(8bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L118] CALL call #t~ret21 := modf_double(~x~0, ~#iptr~0.base, ~#iptr~0.offset); VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [L19-L107] ~x := #in~x; [L19-L107] ~iptr.base, ~iptr.offset := #in~iptr.base, #in~iptr.offset; [L20] havoc ~i0~0; [L20] havoc ~i1~0; [L20] havoc ~j0~0; [L21] havoc ~i~0; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L23] call ~#ew_u~0.base, ~#ew_u~0.offset := #Ultimate.alloc(8bv32); [L24] call write~intFLOATTYPE8(~x, ~#ew_u~0.base, ~#ew_u~0.offset, 8bv32); [L25] call #t~mem0 := read~intINTTYPE4(~#ew_u~0.base, ~bvadd32(4bv32, ~#ew_u~0.offset), 4bv32); [L25] ~i0~0 := #t~mem0; [L25] call write~intFLOATTYPE8(#t~union1, ~#ew_u~0.base, ~#ew_u~0.offset, 8bv32); [L25] havoc #t~union1; [L25] havoc #t~mem0; [L26] call #t~mem2 := read~intINTTYPE4(~#ew_u~0.base, ~#ew_u~0.offset, 4bv32); [L26] ~i1~0 := #t~mem2; [L26] call write~intFLOATTYPE8(#t~union3, ~#ew_u~0.base, ~#ew_u~0.offset, 8bv32); [L26] havoc #t~mem2; [L26] havoc #t~union3; [L23] call ULTIMATE.dealloc(~#ew_u~0.base, ~#ew_u~0.offset); [L23] havoc ~#ew_u~0.base, ~#ew_u~0.offset; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L28] ~j0~0 := ~bvsub32(~bvand32(2047bv32, ~bvashr32(~i0~0, 20bv32)), 1023bv32); VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L29-L106] assume !~bvslt32(~j0~0, 20bv32); VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L65-L106] assume ~bvsgt32(~j0~0, 51bv32); [L66] havoc ~high~1; [L67] call write~intFLOATTYPE8(~fp.mul~DOUBLE(~roundNearestTiesToEven, ~x, ~one_modf~0), ~iptr.base, ~iptr.offset, 8bv32); VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L69] call ~#gh_u~1.base, ~#gh_u~1.offset := #Ultimate.alloc(8bv32); [L70] call write~intFLOATTYPE8(~x, ~#gh_u~1.base, ~#gh_u~1.offset, 8bv32); [L71] call #t~mem11 := read~intINTTYPE4(~#gh_u~1.base, ~bvadd32(4bv32, ~#gh_u~1.offset), 4bv32); [L71] ~high~1 := #t~mem11; [L71] call write~intFLOATTYPE8(#t~union12, ~#gh_u~1.base, ~#gh_u~1.offset, 8bv32); [L71] havoc #t~mem11; [L71] havoc #t~union12; [L69] call ULTIMATE.dealloc(~#gh_u~1.base, ~#gh_u~1.offset); [L69] havoc ~#gh_u~1.base, ~#gh_u~1.offset; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~high~1=2146959360bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L74] call ~#iw_u~3.base, ~#iw_u~3.offset := #Ultimate.alloc(8bv32); [L75] call write~intINTTYPE4(~bvand32(2147483648bv32, ~high~1), ~#iw_u~3.base, ~bvadd32(4bv32, ~#iw_u~3.offset), 4bv32); [L76] call write~intINTTYPE4(0bv32, ~#iw_u~3.base, ~#iw_u~3.offset, 4bv32); [L77] call #t~mem13 := read~intFLOATTYPE8(~#iw_u~3.base, ~#iw_u~3.offset, 8bv32); [L77] ~x := #t~mem13; [L77] call write~intINTTYPE4(#t~union14.lsw, ~#iw_u~3.base, ~#iw_u~3.offset, 4bv32); [L77] call write~intINTTYPE4(#t~union14.msw, ~#iw_u~3.base, ~bvadd32(4bv32, ~#iw_u~3.offset), 4bv32); [L77] havoc #t~union14.lsw, #t~union14.msw; [L77] havoc #t~mem13; [L74] call ULTIMATE.dealloc(~#iw_u~3.base, ~#iw_u~3.offset); [L74] havoc ~#iw_u~3.base, ~#iw_u~3.offset; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~high~1=2146959360bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52)] [L79] #res := ~x; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, #res=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~high~1=2146959360bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52)] [L19-L107] ensures true; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, #res=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~high~1=2146959360bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52)] [L118] RET call #t~ret21 := modf_double(~x~0, ~#iptr~0.base, ~#iptr~0.offset); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~ret21=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L118] ~res~0 := #t~ret21; [L118] havoc #t~ret21; [L121] call #t~mem22 := read~intFLOATTYPE8(~#iptr~0.base, ~#iptr~0.offset, 8bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121] CALL call #t~ret23 := isnan_double(#t~mem22); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [L15] ~x := #in~x; [L15] #res := (if !~fp.eq~DOUBLE(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, #res=1bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L15] ensures true; VAL [#in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, #res=1bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L121] RET call #t~ret23 := isnan_double(#t~mem22); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), #t~ret23=1bv32, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121] #t~short25 := 0bv32 != #t~ret23; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), #t~ret23=1bv32, #t~short25=true, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121] assume #t~short25; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), #t~ret23=1bv32, #t~short25=true, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121] CALL call #t~ret24 := isnan_double(~res~0); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), #NULL.base=0bv32, #NULL.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [L15] ~x := #in~x; [L15] #res := (if !~fp.eq~DOUBLE(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), #NULL.base=0bv32, #NULL.offset=0bv32, #res=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52)] [L15] ensures true; VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), #NULL.base=0bv32, #NULL.offset=0bv32, #res=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52)] [L121] RET call #t~ret24 := isnan_double(~res~0); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), #t~ret23=1bv32, #t~ret24=0bv32, #t~short25=true, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121] #t~short25 := 0bv32 == #t~ret24; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), #t~ret23=1bv32, #t~ret24=0bv32, #t~short25=true, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121-L124] assume #t~short25; [L121] havoc #t~ret23; [L121] havoc #t~short25; [L121] havoc #t~ret24; [L121] havoc #t~mem22; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L122] assert false; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.preprocessor.BoogiePreprocessorBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL.base=6bv32, #NULL.offset=5bv32, old(#NULL.base)=6bv32, old(#NULL.offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv11, 5bv52), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 0bv11, 5bv52)] [?] #NULL.base, #NULL.offset := 0bv32, 0bv32; [?] #valid := #valid[0bv32 := 0bv1]; [L17] ~one_modf~0 := ~to_fp~DOUBLE(~roundNearestTiesToEven, 1.0); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=6bv32, old(#NULL.offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv11, 5bv52), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [?] ensures true; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=6bv32, old(#NULL.offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv11, 5bv52), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [?] RET call ULTIMATE.init(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [?] CALL call #t~ret26 := main(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [L116] ~x~0 := ~fp.div~DOUBLE(~roundNearestTiesToEven, ~Pluszero~DOUBLE(), ~Pluszero~DOUBLE()); [L117] call ~#iptr~0.base, ~#iptr~0.offset := #Ultimate.alloc(8bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L118] CALL call #t~ret21 := modf_double(~x~0, ~#iptr~0.base, ~#iptr~0.offset); VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [L19-L107] ~x := #in~x; [L19-L107] ~iptr.base, ~iptr.offset := #in~iptr.base, #in~iptr.offset; [L20] havoc ~i0~0; [L20] havoc ~i1~0; [L20] havoc ~j0~0; [L21] havoc ~i~0; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L23] call ~#ew_u~0.base, ~#ew_u~0.offset := #Ultimate.alloc(8bv32); [L24] call write~intFLOATTYPE8(~x, ~#ew_u~0.base, ~#ew_u~0.offset, 8bv32); [L25] call #t~mem0 := read~intINTTYPE4(~#ew_u~0.base, ~bvadd32(4bv32, ~#ew_u~0.offset), 4bv32); [L25] ~i0~0 := #t~mem0; [L25] call write~intFLOATTYPE8(#t~union1, ~#ew_u~0.base, ~#ew_u~0.offset, 8bv32); [L25] havoc #t~union1; [L25] havoc #t~mem0; [L26] call #t~mem2 := read~intINTTYPE4(~#ew_u~0.base, ~#ew_u~0.offset, 4bv32); [L26] ~i1~0 := #t~mem2; [L26] call write~intFLOATTYPE8(#t~union3, ~#ew_u~0.base, ~#ew_u~0.offset, 8bv32); [L26] havoc #t~mem2; [L26] havoc #t~union3; [L23] call ULTIMATE.dealloc(~#ew_u~0.base, ~#ew_u~0.offset); [L23] havoc ~#ew_u~0.base, ~#ew_u~0.offset; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L28] ~j0~0 := ~bvsub32(~bvand32(2047bv32, ~bvashr32(~i0~0, 20bv32)), 1023bv32); VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L29-L106] assume !~bvslt32(~j0~0, 20bv32); VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L65-L106] assume ~bvsgt32(~j0~0, 51bv32); [L66] havoc ~high~1; [L67] call write~intFLOATTYPE8(~fp.mul~DOUBLE(~roundNearestTiesToEven, ~x, ~one_modf~0), ~iptr.base, ~iptr.offset, 8bv32); VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L69] call ~#gh_u~1.base, ~#gh_u~1.offset := #Ultimate.alloc(8bv32); [L70] call write~intFLOATTYPE8(~x, ~#gh_u~1.base, ~#gh_u~1.offset, 8bv32); [L71] call #t~mem11 := read~intINTTYPE4(~#gh_u~1.base, ~bvadd32(4bv32, ~#gh_u~1.offset), 4bv32); [L71] ~high~1 := #t~mem11; [L71] call write~intFLOATTYPE8(#t~union12, ~#gh_u~1.base, ~#gh_u~1.offset, 8bv32); [L71] havoc #t~mem11; [L71] havoc #t~union12; [L69] call ULTIMATE.dealloc(~#gh_u~1.base, ~#gh_u~1.offset); [L69] havoc ~#gh_u~1.base, ~#gh_u~1.offset; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~high~1=2146959360bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L74] call ~#iw_u~3.base, ~#iw_u~3.offset := #Ultimate.alloc(8bv32); [L75] call write~intINTTYPE4(~bvand32(2147483648bv32, ~high~1), ~#iw_u~3.base, ~bvadd32(4bv32, ~#iw_u~3.offset), 4bv32); [L76] call write~intINTTYPE4(0bv32, ~#iw_u~3.base, ~#iw_u~3.offset, 4bv32); [L77] call #t~mem13 := read~intFLOATTYPE8(~#iw_u~3.base, ~#iw_u~3.offset, 8bv32); [L77] ~x := #t~mem13; [L77] call write~intINTTYPE4(#t~union14.lsw, ~#iw_u~3.base, ~#iw_u~3.offset, 4bv32); [L77] call write~intINTTYPE4(#t~union14.msw, ~#iw_u~3.base, ~bvadd32(4bv32, ~#iw_u~3.offset), 4bv32); [L77] havoc #t~union14.lsw, #t~union14.msw; [L77] havoc #t~mem13; [L74] call ULTIMATE.dealloc(~#iw_u~3.base, ~#iw_u~3.offset); [L74] havoc ~#iw_u~3.base, ~#iw_u~3.offset; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~high~1=2146959360bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52)] [L79] #res := ~x; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, #res=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~high~1=2146959360bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52)] [L19-L107] ensures true; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, #res=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~high~1=2146959360bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52)] [L118] RET call #t~ret21 := modf_double(~x~0, ~#iptr~0.base, ~#iptr~0.offset); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~ret21=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L118] ~res~0 := #t~ret21; [L118] havoc #t~ret21; [L121] call #t~mem22 := read~intFLOATTYPE8(~#iptr~0.base, ~#iptr~0.offset, 8bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121] CALL call #t~ret23 := isnan_double(#t~mem22); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [L15] ~x := #in~x; [L15] #res := (if !~fp.eq~DOUBLE(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, #res=1bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L15] ensures true; VAL [#in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, #res=1bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L121] RET call #t~ret23 := isnan_double(#t~mem22); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), #t~ret23=1bv32, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121] #t~short25 := 0bv32 != #t~ret23; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), #t~ret23=1bv32, #t~short25=true, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121] assume #t~short25; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), #t~ret23=1bv32, #t~short25=true, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121] CALL call #t~ret24 := isnan_double(~res~0); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), #NULL.base=0bv32, #NULL.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [L15] ~x := #in~x; [L15] #res := (if !~fp.eq~DOUBLE(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), #NULL.base=0bv32, #NULL.offset=0bv32, #res=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52)] [L15] ensures true; VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), #NULL.base=0bv32, #NULL.offset=0bv32, #res=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52)] [L121] RET call #t~ret24 := isnan_double(~res~0); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), #t~ret23=1bv32, #t~ret24=0bv32, #t~short25=true, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121] #t~short25 := 0bv32 == #t~ret24; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), #t~ret23=1bv32, #t~ret24=0bv32, #t~short25=true, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121-L124] assume #t~short25; [L121] havoc #t~ret23; [L121] havoc #t~short25; [L121] havoc #t~ret24; [L121] havoc #t~mem22; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L122] assert false; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [?] CALL call ULTIMATE.init(); VAL [#NULL!base=6bv32, #NULL!offset=5bv32, old(#NULL!base)=6bv32, old(#NULL!offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv11, 5bv52), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 0bv11, 5bv52)] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; [L17] ~one_modf~0 := ~to_fp~DOUBLE(~roundNearestTiesToEven, 1.0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=6bv32, old(#NULL!offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv11, 5bv52), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [?] CALL call #t~ret26 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [L116] ~x~0 := ~fp.div~DOUBLE(~roundNearestTiesToEven, ~Pluszero~DOUBLE(), ~Pluszero~DOUBLE()); [L117] FCALL call ~#iptr~0 := #Ultimate.alloc(8bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L118] CALL call #t~ret21 := modf_double(~x~0, ~#iptr~0); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [L19-L107] ~x := #in~x; [L19-L107] ~iptr := #in~iptr; [L20] havoc ~i0~0; [L20] havoc ~i1~0; [L20] havoc ~j0~0; [L21] havoc ~i~0; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L23] FCALL call ~#ew_u~0 := #Ultimate.alloc(8bv32); [L24] FCALL call write~intFLOATTYPE8(~x, { base: ~#ew_u~0!base, offset: ~#ew_u~0!offset }, 8bv32); [L25] FCALL call #t~mem0 := read~intINTTYPE4({ base: ~#ew_u~0!base, offset: ~bvadd32(4bv32, ~#ew_u~0!offset) }, 4bv32); [L25] ~i0~0 := #t~mem0; [L25] FCALL call write~intFLOATTYPE8(#t~union1, { base: ~#ew_u~0!base, offset: ~#ew_u~0!offset }, 8bv32); [L25] havoc #t~union1; [L25] havoc #t~mem0; [L26] FCALL call #t~mem2 := read~intINTTYPE4({ base: ~#ew_u~0!base, offset: ~#ew_u~0!offset }, 4bv32); [L26] ~i1~0 := #t~mem2; [L26] FCALL call write~intFLOATTYPE8(#t~union3, { base: ~#ew_u~0!base, offset: ~#ew_u~0!offset }, 8bv32); [L26] havoc #t~mem2; [L26] havoc #t~union3; [L23] FCALL call ULTIMATE.dealloc(~#ew_u~0); [L23] havoc ~#ew_u~0; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L28] ~j0~0 := ~bvsub32(~bvand32(2047bv32, ~bvashr32(~i0~0, 20bv32)), 1023bv32); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L29] COND FALSE !(~bvslt32(~j0~0, 20bv32)) VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L65] COND TRUE ~bvsgt32(~j0~0, 51bv32) [L66] havoc ~high~1; [L67] FCALL call write~intFLOATTYPE8(~fp.mul~DOUBLE(~roundNearestTiesToEven, ~x, ~one_modf~0), ~iptr, 8bv32); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L69] FCALL call ~#gh_u~1 := #Ultimate.alloc(8bv32); [L70] FCALL call write~intFLOATTYPE8(~x, { base: ~#gh_u~1!base, offset: ~#gh_u~1!offset }, 8bv32); [L71] FCALL call #t~mem11 := read~intINTTYPE4({ base: ~#gh_u~1!base, offset: ~bvadd32(4bv32, ~#gh_u~1!offset) }, 4bv32); [L71] ~high~1 := #t~mem11; [L71] FCALL call write~intFLOATTYPE8(#t~union12, { base: ~#gh_u~1!base, offset: ~#gh_u~1!offset }, 8bv32); [L71] havoc #t~mem11; [L71] havoc #t~union12; [L69] FCALL call ULTIMATE.dealloc(~#gh_u~1); [L69] havoc ~#gh_u~1; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~high~1=2146959360bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L74] FCALL call ~#iw_u~3 := #Ultimate.alloc(8bv32); [L75] FCALL call write~intINTTYPE4(~bvand32(2147483648bv32, ~high~1), { base: ~#iw_u~3!base, offset: ~bvadd32(4bv32, ~#iw_u~3!offset) }, 4bv32); [L76] FCALL call write~intINTTYPE4(0bv32, { base: ~#iw_u~3!base, offset: ~#iw_u~3!offset }, 4bv32); [L77] FCALL call #t~mem13 := read~intFLOATTYPE8({ base: ~#iw_u~3!base, offset: ~#iw_u~3!offset }, 8bv32); [L77] ~x := #t~mem13; [L77] FCALL call write~intINTTYPE4(#t~union14!lsw, { base: ~#iw_u~3!base, offset: ~#iw_u~3!offset }, 4bv32); [L77] FCALL call write~intINTTYPE4(#t~union14!msw, { base: ~#iw_u~3!base, offset: ~bvadd32(4bv32, ~#iw_u~3!offset) }, 4bv32); [L77] havoc #t~union14; [L77] havoc #t~mem13; [L74] FCALL call ULTIMATE.dealloc(~#iw_u~3); [L74] havoc ~#iw_u~3; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~high~1=2146959360bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52)] [L79] #res := ~x; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, #res=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~high~1=2146959360bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52)] [L118] RET call #t~ret21 := modf_double(~x~0, ~#iptr~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret21=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L118] ~res~0 := #t~ret21; [L118] havoc #t~ret21; [L121] FCALL call #t~mem22 := read~intFLOATTYPE8(~#iptr~0, 8bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121] CALL call #t~ret23 := isnan_double(#t~mem22); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [L15] ~x := #in~x; [L15] #res := (if !~fp.eq~DOUBLE(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, #res=1bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L121] RET call #t~ret23 := isnan_double(#t~mem22); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), #t~ret23=1bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121] #t~short25 := 0bv32 != #t~ret23; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), #t~ret23=1bv32, #t~short25=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121] COND TRUE #t~short25 VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), #t~ret23=1bv32, #t~short25=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121] CALL call #t~ret24 := isnan_double(~res~0); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [L15] ~x := #in~x; [L15] #res := (if !~fp.eq~DOUBLE(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), #NULL!base=0bv32, #NULL!offset=0bv32, #res=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52)] [L121] RET call #t~ret24 := isnan_double(~res~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), #t~ret23=1bv32, #t~ret24=0bv32, #t~short25=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121] #t~short25 := 0bv32 == #t~ret24; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), #t~ret23=1bv32, #t~ret24=0bv32, #t~short25=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121] COND TRUE #t~short25 [L121] havoc #t~ret23; [L121] havoc #t~short25; [L121] havoc #t~ret24; [L121] havoc #t~mem22; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L122] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.procedureinliner.backtranslation.InlinerBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL!base=6bv32, #NULL!offset=5bv32, old(#NULL!base)=6bv32, old(#NULL!offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv11, 5bv52), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 0bv11, 5bv52)] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; [L17] ~one_modf~0 := ~to_fp~DOUBLE(~roundNearestTiesToEven, 1.0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=6bv32, old(#NULL!offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv11, 5bv52), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [?] CALL call #t~ret26 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [L116] ~x~0 := ~fp.div~DOUBLE(~roundNearestTiesToEven, ~Pluszero~DOUBLE(), ~Pluszero~DOUBLE()); [L117] FCALL call ~#iptr~0 := #Ultimate.alloc(8bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L118] CALL call #t~ret21 := modf_double(~x~0, ~#iptr~0); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [L19-L107] ~x := #in~x; [L19-L107] ~iptr := #in~iptr; [L20] havoc ~i0~0; [L20] havoc ~i1~0; [L20] havoc ~j0~0; [L21] havoc ~i~0; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L23] FCALL call ~#ew_u~0 := #Ultimate.alloc(8bv32); [L24] FCALL call write~intFLOATTYPE8(~x, { base: ~#ew_u~0!base, offset: ~#ew_u~0!offset }, 8bv32); [L25] FCALL call #t~mem0 := read~intINTTYPE4({ base: ~#ew_u~0!base, offset: ~bvadd32(4bv32, ~#ew_u~0!offset) }, 4bv32); [L25] ~i0~0 := #t~mem0; [L25] FCALL call write~intFLOATTYPE8(#t~union1, { base: ~#ew_u~0!base, offset: ~#ew_u~0!offset }, 8bv32); [L25] havoc #t~union1; [L25] havoc #t~mem0; [L26] FCALL call #t~mem2 := read~intINTTYPE4({ base: ~#ew_u~0!base, offset: ~#ew_u~0!offset }, 4bv32); [L26] ~i1~0 := #t~mem2; [L26] FCALL call write~intFLOATTYPE8(#t~union3, { base: ~#ew_u~0!base, offset: ~#ew_u~0!offset }, 8bv32); [L26] havoc #t~mem2; [L26] havoc #t~union3; [L23] FCALL call ULTIMATE.dealloc(~#ew_u~0); [L23] havoc ~#ew_u~0; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L28] ~j0~0 := ~bvsub32(~bvand32(2047bv32, ~bvashr32(~i0~0, 20bv32)), 1023bv32); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L29] COND FALSE !(~bvslt32(~j0~0, 20bv32)) VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L65] COND TRUE ~bvsgt32(~j0~0, 51bv32) [L66] havoc ~high~1; [L67] FCALL call write~intFLOATTYPE8(~fp.mul~DOUBLE(~roundNearestTiesToEven, ~x, ~one_modf~0), ~iptr, 8bv32); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L69] FCALL call ~#gh_u~1 := #Ultimate.alloc(8bv32); [L70] FCALL call write~intFLOATTYPE8(~x, { base: ~#gh_u~1!base, offset: ~#gh_u~1!offset }, 8bv32); [L71] FCALL call #t~mem11 := read~intINTTYPE4({ base: ~#gh_u~1!base, offset: ~bvadd32(4bv32, ~#gh_u~1!offset) }, 4bv32); [L71] ~high~1 := #t~mem11; [L71] FCALL call write~intFLOATTYPE8(#t~union12, { base: ~#gh_u~1!base, offset: ~#gh_u~1!offset }, 8bv32); [L71] havoc #t~mem11; [L71] havoc #t~union12; [L69] FCALL call ULTIMATE.dealloc(~#gh_u~1); [L69] havoc ~#gh_u~1; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~high~1=2146959360bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L74] FCALL call ~#iw_u~3 := #Ultimate.alloc(8bv32); [L75] FCALL call write~intINTTYPE4(~bvand32(2147483648bv32, ~high~1), { base: ~#iw_u~3!base, offset: ~bvadd32(4bv32, ~#iw_u~3!offset) }, 4bv32); [L76] FCALL call write~intINTTYPE4(0bv32, { base: ~#iw_u~3!base, offset: ~#iw_u~3!offset }, 4bv32); [L77] FCALL call #t~mem13 := read~intFLOATTYPE8({ base: ~#iw_u~3!base, offset: ~#iw_u~3!offset }, 8bv32); [L77] ~x := #t~mem13; [L77] FCALL call write~intINTTYPE4(#t~union14!lsw, { base: ~#iw_u~3!base, offset: ~#iw_u~3!offset }, 4bv32); [L77] FCALL call write~intINTTYPE4(#t~union14!msw, { base: ~#iw_u~3!base, offset: ~bvadd32(4bv32, ~#iw_u~3!offset) }, 4bv32); [L77] havoc #t~union14; [L77] havoc #t~mem13; [L74] FCALL call ULTIMATE.dealloc(~#iw_u~3); [L74] havoc ~#iw_u~3; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~high~1=2146959360bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52)] [L79] #res := ~x; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, #res=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~high~1=2146959360bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52)] [L118] RET call #t~ret21 := modf_double(~x~0, ~#iptr~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret21=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L118] ~res~0 := #t~ret21; [L118] havoc #t~ret21; [L121] FCALL call #t~mem22 := read~intFLOATTYPE8(~#iptr~0, 8bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121] CALL call #t~ret23 := isnan_double(#t~mem22); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [L15] ~x := #in~x; [L15] #res := (if !~fp.eq~DOUBLE(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, #res=1bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L121] RET call #t~ret23 := isnan_double(#t~mem22); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), #t~ret23=1bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121] #t~short25 := 0bv32 != #t~ret23; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), #t~ret23=1bv32, #t~short25=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121] COND TRUE #t~short25 VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), #t~ret23=1bv32, #t~short25=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121] CALL call #t~ret24 := isnan_double(~res~0); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [L15] ~x := #in~x; [L15] #res := (if !~fp.eq~DOUBLE(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), #NULL!base=0bv32, #NULL!offset=0bv32, #res=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52)] [L121] RET call #t~ret24 := isnan_double(~res~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), #t~ret23=1bv32, #t~ret24=0bv32, #t~short25=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121] #t~short25 := 0bv32 == #t~ret24; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), #t~ret23=1bv32, #t~ret24=0bv32, #t~short25=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121] COND TRUE #t~short25 [L121] havoc #t~ret23; [L121] havoc #t~short25; [L121] havoc #t~ret24; [L121] havoc #t~mem22; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L122] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [?] CALL call ULTIMATE.init(); VAL [#NULL!base=6bv32, #NULL!offset=5bv32, old(#NULL!base)=6bv32, old(#NULL!offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv11, 5bv52), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 0bv11, 5bv52)] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; [L17] ~one_modf~0 := ~to_fp~DOUBLE(~roundNearestTiesToEven, 1.0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=6bv32, old(#NULL!offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv11, 5bv52), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [?] CALL call #t~ret26 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [L116] ~x~0 := ~fp.div~DOUBLE(~roundNearestTiesToEven, ~Pluszero~DOUBLE(), ~Pluszero~DOUBLE()); [L117] FCALL call ~#iptr~0 := #Ultimate.alloc(8bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L118] CALL call #t~ret21 := modf_double(~x~0, ~#iptr~0); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [L19-L107] ~x := #in~x; [L19-L107] ~iptr := #in~iptr; [L20] havoc ~i0~0; [L20] havoc ~i1~0; [L20] havoc ~j0~0; [L21] havoc ~i~0; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L23] FCALL call ~#ew_u~0 := #Ultimate.alloc(8bv32); [L24] FCALL call write~intFLOATTYPE8(~x, { base: ~#ew_u~0!base, offset: ~#ew_u~0!offset }, 8bv32); [L25] FCALL call #t~mem0 := read~intINTTYPE4({ base: ~#ew_u~0!base, offset: ~bvadd32(4bv32, ~#ew_u~0!offset) }, 4bv32); [L25] ~i0~0 := #t~mem0; [L25] FCALL call write~intFLOATTYPE8(#t~union1, { base: ~#ew_u~0!base, offset: ~#ew_u~0!offset }, 8bv32); [L25] havoc #t~union1; [L25] havoc #t~mem0; [L26] FCALL call #t~mem2 := read~intINTTYPE4({ base: ~#ew_u~0!base, offset: ~#ew_u~0!offset }, 4bv32); [L26] ~i1~0 := #t~mem2; [L26] FCALL call write~intFLOATTYPE8(#t~union3, { base: ~#ew_u~0!base, offset: ~#ew_u~0!offset }, 8bv32); [L26] havoc #t~mem2; [L26] havoc #t~union3; [L23] FCALL call ULTIMATE.dealloc(~#ew_u~0); [L23] havoc ~#ew_u~0; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L28] ~j0~0 := ~bvsub32(~bvand32(2047bv32, ~bvashr32(~i0~0, 20bv32)), 1023bv32); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L29] COND FALSE !(~bvslt32(~j0~0, 20bv32)) VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L65] COND TRUE ~bvsgt32(~j0~0, 51bv32) [L66] havoc ~high~1; [L67] FCALL call write~intFLOATTYPE8(~fp.mul~DOUBLE(~roundNearestTiesToEven, ~x, ~one_modf~0), ~iptr, 8bv32); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L69] FCALL call ~#gh_u~1 := #Ultimate.alloc(8bv32); [L70] FCALL call write~intFLOATTYPE8(~x, { base: ~#gh_u~1!base, offset: ~#gh_u~1!offset }, 8bv32); [L71] FCALL call #t~mem11 := read~intINTTYPE4({ base: ~#gh_u~1!base, offset: ~bvadd32(4bv32, ~#gh_u~1!offset) }, 4bv32); [L71] ~high~1 := #t~mem11; [L71] FCALL call write~intFLOATTYPE8(#t~union12, { base: ~#gh_u~1!base, offset: ~#gh_u~1!offset }, 8bv32); [L71] havoc #t~mem11; [L71] havoc #t~union12; [L69] FCALL call ULTIMATE.dealloc(~#gh_u~1); [L69] havoc ~#gh_u~1; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~high~1=2146959360bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L74] FCALL call ~#iw_u~3 := #Ultimate.alloc(8bv32); [L75] FCALL call write~intINTTYPE4(~bvand32(2147483648bv32, ~high~1), { base: ~#iw_u~3!base, offset: ~bvadd32(4bv32, ~#iw_u~3!offset) }, 4bv32); [L76] FCALL call write~intINTTYPE4(0bv32, { base: ~#iw_u~3!base, offset: ~#iw_u~3!offset }, 4bv32); [L77] FCALL call #t~mem13 := read~intFLOATTYPE8({ base: ~#iw_u~3!base, offset: ~#iw_u~3!offset }, 8bv32); [L77] ~x := #t~mem13; [L77] FCALL call write~intINTTYPE4(#t~union14!lsw, { base: ~#iw_u~3!base, offset: ~#iw_u~3!offset }, 4bv32); [L77] FCALL call write~intINTTYPE4(#t~union14!msw, { base: ~#iw_u~3!base, offset: ~bvadd32(4bv32, ~#iw_u~3!offset) }, 4bv32); [L77] havoc #t~union14; [L77] havoc #t~mem13; [L74] FCALL call ULTIMATE.dealloc(~#iw_u~3); [L74] havoc ~#iw_u~3; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~high~1=2146959360bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52)] [L79] #res := ~x; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, #res=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~high~1=2146959360bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52)] [L118] RET call #t~ret21 := modf_double(~x~0, ~#iptr~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret21=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L118] ~res~0 := #t~ret21; [L118] havoc #t~ret21; [L121] FCALL call #t~mem22 := read~intFLOATTYPE8(~#iptr~0, 8bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121] CALL call #t~ret23 := isnan_double(#t~mem22); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [L15] ~x := #in~x; [L15] #res := (if !~fp.eq~DOUBLE(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, #res=1bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L121] RET call #t~ret23 := isnan_double(#t~mem22); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), #t~ret23=1bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121] #t~short25 := 0bv32 != #t~ret23; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), #t~ret23=1bv32, #t~short25=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121] COND TRUE #t~short25 VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), #t~ret23=1bv32, #t~short25=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121] CALL call #t~ret24 := isnan_double(~res~0); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [L15] ~x := #in~x; [L15] #res := (if !~fp.eq~DOUBLE(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), #NULL!base=0bv32, #NULL!offset=0bv32, #res=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52)] [L121] RET call #t~ret24 := isnan_double(~res~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), #t~ret23=1bv32, #t~ret24=0bv32, #t~short25=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121] #t~short25 := 0bv32 == #t~ret24; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), #t~ret23=1bv32, #t~ret24=0bv32, #t~short25=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121] COND TRUE #t~short25 [L121] havoc #t~ret23; [L121] havoc #t~short25; [L121] havoc #t~ret24; [L121] havoc #t~mem22; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L122] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] ----- ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL!base=6bv32, #NULL!offset=5bv32, old(#NULL!base)=6bv32, old(#NULL!offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv11, 5bv52), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 0bv11, 5bv52)] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; [L17] ~one_modf~0 := ~to_fp~DOUBLE(~roundNearestTiesToEven, 1.0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=6bv32, old(#NULL!offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv11, 5bv52), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [?] CALL call #t~ret26 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [L116] ~x~0 := ~fp.div~DOUBLE(~roundNearestTiesToEven, ~Pluszero~DOUBLE(), ~Pluszero~DOUBLE()); [L117] FCALL call ~#iptr~0 := #Ultimate.alloc(8bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L118] CALL call #t~ret21 := modf_double(~x~0, ~#iptr~0); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [L19-L107] ~x := #in~x; [L19-L107] ~iptr := #in~iptr; [L20] havoc ~i0~0; [L20] havoc ~i1~0; [L20] havoc ~j0~0; [L21] havoc ~i~0; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L23] FCALL call ~#ew_u~0 := #Ultimate.alloc(8bv32); [L24] FCALL call write~intFLOATTYPE8(~x, { base: ~#ew_u~0!base, offset: ~#ew_u~0!offset }, 8bv32); [L25] FCALL call #t~mem0 := read~intINTTYPE4({ base: ~#ew_u~0!base, offset: ~bvadd32(4bv32, ~#ew_u~0!offset) }, 4bv32); [L25] ~i0~0 := #t~mem0; [L25] FCALL call write~intFLOATTYPE8(#t~union1, { base: ~#ew_u~0!base, offset: ~#ew_u~0!offset }, 8bv32); [L25] havoc #t~union1; [L25] havoc #t~mem0; [L26] FCALL call #t~mem2 := read~intINTTYPE4({ base: ~#ew_u~0!base, offset: ~#ew_u~0!offset }, 4bv32); [L26] ~i1~0 := #t~mem2; [L26] FCALL call write~intFLOATTYPE8(#t~union3, { base: ~#ew_u~0!base, offset: ~#ew_u~0!offset }, 8bv32); [L26] havoc #t~mem2; [L26] havoc #t~union3; [L23] FCALL call ULTIMATE.dealloc(~#ew_u~0); [L23] havoc ~#ew_u~0; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L28] ~j0~0 := ~bvsub32(~bvand32(2047bv32, ~bvashr32(~i0~0, 20bv32)), 1023bv32); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L29] COND FALSE !(~bvslt32(~j0~0, 20bv32)) VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L65] COND TRUE ~bvsgt32(~j0~0, 51bv32) [L66] havoc ~high~1; [L67] FCALL call write~intFLOATTYPE8(~fp.mul~DOUBLE(~roundNearestTiesToEven, ~x, ~one_modf~0), ~iptr, 8bv32); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L69] FCALL call ~#gh_u~1 := #Ultimate.alloc(8bv32); [L70] FCALL call write~intFLOATTYPE8(~x, { base: ~#gh_u~1!base, offset: ~#gh_u~1!offset }, 8bv32); [L71] FCALL call #t~mem11 := read~intINTTYPE4({ base: ~#gh_u~1!base, offset: ~bvadd32(4bv32, ~#gh_u~1!offset) }, 4bv32); [L71] ~high~1 := #t~mem11; [L71] FCALL call write~intFLOATTYPE8(#t~union12, { base: ~#gh_u~1!base, offset: ~#gh_u~1!offset }, 8bv32); [L71] havoc #t~mem11; [L71] havoc #t~union12; [L69] FCALL call ULTIMATE.dealloc(~#gh_u~1); [L69] havoc ~#gh_u~1; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~high~1=2146959360bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L74] FCALL call ~#iw_u~3 := #Ultimate.alloc(8bv32); [L75] FCALL call write~intINTTYPE4(~bvand32(2147483648bv32, ~high~1), { base: ~#iw_u~3!base, offset: ~bvadd32(4bv32, ~#iw_u~3!offset) }, 4bv32); [L76] FCALL call write~intINTTYPE4(0bv32, { base: ~#iw_u~3!base, offset: ~#iw_u~3!offset }, 4bv32); [L77] FCALL call #t~mem13 := read~intFLOATTYPE8({ base: ~#iw_u~3!base, offset: ~#iw_u~3!offset }, 8bv32); [L77] ~x := #t~mem13; [L77] FCALL call write~intINTTYPE4(#t~union14!lsw, { base: ~#iw_u~3!base, offset: ~#iw_u~3!offset }, 4bv32); [L77] FCALL call write~intINTTYPE4(#t~union14!msw, { base: ~#iw_u~3!base, offset: ~bvadd32(4bv32, ~#iw_u~3!offset) }, 4bv32); [L77] havoc #t~union14; [L77] havoc #t~mem13; [L74] FCALL call ULTIMATE.dealloc(~#iw_u~3); [L74] havoc ~#iw_u~3; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~high~1=2146959360bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52)] [L79] #res := ~x; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, #res=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~high~1=2146959360bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52)] [L118] RET call #t~ret21 := modf_double(~x~0, ~#iptr~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret21=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L118] ~res~0 := #t~ret21; [L118] havoc #t~ret21; [L121] FCALL call #t~mem22 := read~intFLOATTYPE8(~#iptr~0, 8bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121] CALL call #t~ret23 := isnan_double(#t~mem22); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [L15] ~x := #in~x; [L15] #res := (if !~fp.eq~DOUBLE(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, #res=1bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L121] RET call #t~ret23 := isnan_double(#t~mem22); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), #t~ret23=1bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121] #t~short25 := 0bv32 != #t~ret23; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), #t~ret23=1bv32, #t~short25=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121] COND TRUE #t~short25 VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), #t~ret23=1bv32, #t~short25=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121] CALL call #t~ret24 := isnan_double(~res~0); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [L15] ~x := #in~x; [L15] #res := (if !~fp.eq~DOUBLE(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), #NULL!base=0bv32, #NULL!offset=0bv32, #res=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52)] [L121] RET call #t~ret24 := isnan_double(~res~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), #t~ret23=1bv32, #t~ret24=0bv32, #t~short25=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121] #t~short25 := 0bv32 == #t~ret24; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), #t~ret23=1bv32, #t~ret24=0bv32, #t~short25=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121] COND TRUE #t~short25 [L121] havoc #t~ret23; [L121] havoc #t~short25; [L121] havoc #t~ret24; [L121] havoc #t~mem22; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L122] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L17] static const double one_modf = 1.0; VAL [\old(one_modf)=0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000025, one_modf=1.0] [L116] double x = 0.0 / 0.0; [L117] double iptr; VAL [iptr={2:0}, one_modf=1.0, x=NaN] [L118] CALL, EXPR modf_double(x, &iptr) VAL [\old(x)=NaN, iptr={2:0}, one_modf=1.0] [L20] __int32_t i0, i1, j0; [L21] __uint32_t i; VAL [\old(x)=NaN, iptr={2:0}, iptr={2:0}, one_modf=1.0, x=NaN] [L23] ieee_double_shape_type ew_u; [L24] ew_u.value = (x) [L25] EXPR ew_u.parts.msw [L25] (i0) = ew_u.parts.msw [L26] EXPR ew_u.parts.lsw [L26] (i1) = ew_u.parts.lsw [L28] j0 = ((i0 >> 20) & 0x7ff) - 0x3ff VAL [\old(x)=NaN, i0=2146959360, i1=0, iptr={2:0}, iptr={2:0}, j0=1024, one_modf=1.0, x=NaN] [L29] COND FALSE !(j0 < 20) VAL [\old(x)=NaN, i0=2146959360, i1=0, iptr={2:0}, iptr={2:0}, j0=1024, one_modf=1.0, x=NaN] [L65] COND TRUE j0 > 51 [L66] __uint32_t high; [L67] *iptr = x * one_modf VAL [\old(x)=NaN, i0=2146959360, i1=0, iptr={2:0}, iptr={2:0}, j0=1024, one_modf=1.0, x=NaN] [L69] ieee_double_shape_type gh_u; [L70] gh_u.value = (x) [L71] EXPR gh_u.parts.msw [L71] (high) = gh_u.parts.msw [L74] ieee_double_shape_type iw_u; [L75] iw_u.parts.msw = (high & 0x80000000) [L76] iw_u.parts.lsw = (0) [L77] EXPR iw_u.value [L77] (x) = iw_u.value [L79] return x; VAL [\old(x)=NaN, \result=0.0, high=2146959360, i0=2146959360, i1=0, iptr={2:0}, iptr={2:0}, j0=1024, one_modf=1.0, x=0.0] [L118] RET, EXPR modf_double(x, &iptr) VAL [iptr={2:0}, modf_double(x, &iptr)=0.0, one_modf=1.0, x=NaN] [L118] double res = modf_double(x, &iptr); [L121] EXPR \read(iptr) VAL [\read(iptr)=NaN, iptr={2:0}, one_modf=1.0, res=0.0, x=NaN] [L121] CALL, EXPR isnan_double(iptr) VAL [\old(x)=NaN, one_modf=1.0] [L15] return x != x; VAL [\old(x)=NaN, \result=1, one_modf=1.0, x=NaN] [L121] RET, EXPR isnan_double(iptr) VAL [\read(iptr)=NaN, iptr={2:0}, isnan_double(iptr)=1, one_modf=1.0, res=0.0, x=NaN] [L121] isnan_double(iptr) && !isnan_double(res) VAL [\read(iptr)=NaN, iptr={2:0}, isnan_double(iptr)=1, isnan_double(iptr) && !isnan_double(res)=1, one_modf=1.0, res=0.0, x=NaN] [L121] CALL, EXPR isnan_double(res) VAL [\old(x)=0.0, one_modf=1.0] [L15] return x != x; VAL [\old(x)=0.0, \result=0, one_modf=1.0, x=0.0] [L121] RET, EXPR isnan_double(res) VAL [\read(iptr)=NaN, iptr={2:0}, isnan_double(iptr)=1, isnan_double(iptr) && !isnan_double(res)=1, isnan_double(res)=0, one_modf=1.0, res=0.0, x=NaN] [L121] isnan_double(iptr) && !isnan_double(res) VAL [\read(iptr)=NaN, iptr={2:0}, isnan_double(iptr)=1, isnan_double(iptr) && !isnan_double(res)=1, isnan_double(res)=0, one_modf=1.0, res=0.0, x=NaN] [L121] COND TRUE isnan_double(iptr) && !isnan_double(res) [L122] __VERIFIER_error() VAL [iptr={2:0}, one_modf=1.0, res=0.0, x=NaN] ----- [2018-11-23 02:31:16,678 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 23.11 02:31:16 BoogieIcfgContainer [2018-11-23 02:31:16,678 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2018-11-23 02:31:16,679 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2018-11-23 02:31:16,679 INFO L271 PluginConnector]: Initializing Witness Printer... [2018-11-23 02:31:16,683 INFO L276 PluginConnector]: Witness Printer initialized [2018-11-23 02:31:16,684 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 02:31:02" (3/4) ... [2018-11-23 02:31:16,686 INFO L138 WitnessPrinter]: Generating witness for reachability counterexample ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.RCFGBacktranslator [?] CALL call ULTIMATE.init(); VAL [|#NULL.base|=(_ bv6 32), |#NULL.offset|=(_ bv5 32), |old(#NULL.base)|=(_ bv6 32), |old(#NULL.offset)|=(_ bv5 32), |old(~one_modf~0)|=(fp #b0 #b00000000000 #b0000000000000000000000000000000000000000000000000101), ~one_modf~0=(fp #b0 #b00000000000 #b0000000000000000000000000000000000000000000000000101)] [?] #NULL.base, #NULL.offset := 0bv32, 0bv32;#valid := #valid[0bv32 := 0bv1];~one_modf~0 := ~to_fp~DOUBLE(~roundNearestTiesToEven, 1.0); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |old(#NULL.base)|=(_ bv6 32), |old(#NULL.offset)|=(_ bv5 32), |old(~one_modf~0)|=(fp #b0 #b00000000000 #b0000000000000000000000000000000000000000000000000101), ~one_modf~0=(fp #b0 #b01111111111 #b0000000000000000000000000000000000000000000000000000)] [?] assume true; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |old(#NULL.base)|=(_ bv6 32), |old(#NULL.offset)|=(_ bv5 32), |old(~one_modf~0)|=(fp #b0 #b00000000000 #b0000000000000000000000000000000000000000000000000101), ~one_modf~0=(fp #b0 #b01111111111 #b0000000000000000000000000000000000000000000000000000)] [?] RET #174#return; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111111 #b0000000000000000000000000000000000000000000000000000)] [?] CALL call #t~ret26 := main(); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111111 #b0000000000000000000000000000000000000000000000000000)] [?] ~x~0 := ~fp.div~DOUBLE(~roundNearestTiesToEven, ~Pluszero~DOUBLE(), ~Pluszero~DOUBLE());call ~#iptr~0.base, ~#iptr~0.offset := #Ultimate.alloc(8bv32); VAL [main_~x~0=(_ NaN 11 53), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#iptr~0.base|=(_ bv2 32), |main_~#iptr~0.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111111 #b0000000000000000000000000000000000000000000000000000)] [?] CALL call #t~ret21 := modf_double(~x~0, ~#iptr~0.base, ~#iptr~0.offset); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_double_#in~iptr.base|=(_ bv2 32), |modf_double_#in~iptr.offset|=(_ bv0 32), |modf_double_#in~x|=(_ NaN 11 53), ~one_modf~0=(fp #b0 #b01111111111 #b0000000000000000000000000000000000000000000000000000)] [?] ~x := #in~x;~iptr.base, ~iptr.offset := #in~iptr.base, #in~iptr.offset;havoc ~i0~0;havoc ~i1~0;havoc ~j0~0;havoc ~i~0; VAL [modf_double_~iptr.base=(_ bv2 32), modf_double_~iptr.offset=(_ bv0 32), modf_double_~x=(_ NaN 11 53), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_double_#in~iptr.base|=(_ bv2 32), |modf_double_#in~iptr.offset|=(_ bv0 32), |modf_double_#in~x|=(_ NaN 11 53), ~one_modf~0=(fp #b0 #b01111111111 #b0000000000000000000000000000000000000000000000000000)] [?] call ~#ew_u~0.base, ~#ew_u~0.offset := #Ultimate.alloc(8bv32);call write~intFLOATTYPE8(~x, ~#ew_u~0.base, ~#ew_u~0.offset, 8bv32);call #t~mem0 := read~intINTTYPE4(~#ew_u~0.base, ~bvadd32(4bv32, ~#ew_u~0.offset), 4bv32);~i0~0 := #t~mem0;call write~intFLOATTYPE8(#t~union1, ~#ew_u~0.base, ~#ew_u~0.offset, 8bv32);havoc #t~union1;havoc #t~mem0;call #t~mem2 := read~intINTTYPE4(~#ew_u~0.base, ~#ew_u~0.offset, 4bv32);~i1~0 := #t~mem2;call write~intFLOATTYPE8(#t~union3, ~#ew_u~0.base, ~#ew_u~0.offset, 8bv32);havoc #t~mem2;havoc #t~union3;call ULTIMATE.dealloc(~#ew_u~0.base, ~#ew_u~0.offset);havoc ~#ew_u~0.base, ~#ew_u~0.offset; VAL [modf_double_~i0~0=(_ bv2146959360 32), modf_double_~i1~0=(_ bv0 32), modf_double_~iptr.base=(_ bv2 32), modf_double_~iptr.offset=(_ bv0 32), modf_double_~x=(_ NaN 11 53), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_double_#in~iptr.base|=(_ bv2 32), |modf_double_#in~iptr.offset|=(_ bv0 32), |modf_double_#in~x|=(_ NaN 11 53), ~one_modf~0=(fp #b0 #b01111111111 #b0000000000000000000000000000000000000000000000000000)] [?] goto; VAL [modf_double_~i0~0=(_ bv2146959360 32), modf_double_~i1~0=(_ bv0 32), modf_double_~iptr.base=(_ bv2 32), modf_double_~iptr.offset=(_ bv0 32), modf_double_~x=(_ NaN 11 53), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_double_#in~iptr.base|=(_ bv2 32), |modf_double_#in~iptr.offset|=(_ bv0 32), |modf_double_#in~x|=(_ NaN 11 53), ~one_modf~0=(fp #b0 #b01111111111 #b0000000000000000000000000000000000000000000000000000)] [?] ~j0~0 := ~bvsub32(~bvand32(2047bv32, ~bvashr32(~i0~0, 20bv32)), 1023bv32); VAL [modf_double_~i0~0=(_ bv2146959360 32), modf_double_~i1~0=(_ bv0 32), modf_double_~iptr.base=(_ bv2 32), modf_double_~iptr.offset=(_ bv0 32), modf_double_~j0~0=(_ bv1024 32), modf_double_~x=(_ NaN 11 53), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_double_#in~iptr.base|=(_ bv2 32), |modf_double_#in~iptr.offset|=(_ bv0 32), |modf_double_#in~x|=(_ NaN 11 53), ~one_modf~0=(fp #b0 #b01111111111 #b0000000000000000000000000000000000000000000000000000)] [?] assume !~bvslt32(~j0~0, 20bv32); VAL [modf_double_~i0~0=(_ bv2146959360 32), modf_double_~i1~0=(_ bv0 32), modf_double_~iptr.base=(_ bv2 32), modf_double_~iptr.offset=(_ bv0 32), modf_double_~j0~0=(_ bv1024 32), modf_double_~x=(_ NaN 11 53), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_double_#in~iptr.base|=(_ bv2 32), |modf_double_#in~iptr.offset|=(_ bv0 32), |modf_double_#in~x|=(_ NaN 11 53), ~one_modf~0=(fp #b0 #b01111111111 #b0000000000000000000000000000000000000000000000000000)] [?] assume ~bvsgt32(~j0~0, 51bv32);havoc ~high~1;call write~intFLOATTYPE8(~fp.mul~DOUBLE(~roundNearestTiesToEven, ~x, ~one_modf~0), ~iptr.base, ~iptr.offset, 8bv32); VAL [modf_double_~i0~0=(_ bv2146959360 32), modf_double_~i1~0=(_ bv0 32), modf_double_~iptr.base=(_ bv2 32), modf_double_~iptr.offset=(_ bv0 32), modf_double_~j0~0=(_ bv1024 32), modf_double_~x=(_ NaN 11 53), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_double_#in~iptr.base|=(_ bv2 32), |modf_double_#in~iptr.offset|=(_ bv0 32), |modf_double_#in~x|=(_ NaN 11 53), ~one_modf~0=(fp #b0 #b01111111111 #b0000000000000000000000000000000000000000000000000000)] [?] call ~#gh_u~1.base, ~#gh_u~1.offset := #Ultimate.alloc(8bv32);call write~intFLOATTYPE8(~x, ~#gh_u~1.base, ~#gh_u~1.offset, 8bv32);call #t~mem11 := read~intINTTYPE4(~#gh_u~1.base, ~bvadd32(4bv32, ~#gh_u~1.offset), 4bv32);~high~1 := #t~mem11;call write~intFLOATTYPE8(#t~union12, ~#gh_u~1.base, ~#gh_u~1.offset, 8bv32);havoc #t~mem11;havoc #t~union12;call ULTIMATE.dealloc(~#gh_u~1.base, ~#gh_u~1.offset);havoc ~#gh_u~1.base, ~#gh_u~1.offset; VAL [modf_double_~high~1=(_ bv2146959360 32), modf_double_~i0~0=(_ bv2146959360 32), modf_double_~i1~0=(_ bv0 32), modf_double_~iptr.base=(_ bv2 32), modf_double_~iptr.offset=(_ bv0 32), modf_double_~j0~0=(_ bv1024 32), modf_double_~x=(_ NaN 11 53), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_double_#in~iptr.base|=(_ bv2 32), |modf_double_#in~iptr.offset|=(_ bv0 32), |modf_double_#in~x|=(_ NaN 11 53), ~one_modf~0=(fp #b0 #b01111111111 #b0000000000000000000000000000000000000000000000000000)] [?] goto; VAL [modf_double_~high~1=(_ bv2146959360 32), modf_double_~i0~0=(_ bv2146959360 32), modf_double_~i1~0=(_ bv0 32), modf_double_~iptr.base=(_ bv2 32), modf_double_~iptr.offset=(_ bv0 32), modf_double_~j0~0=(_ bv1024 32), modf_double_~x=(_ NaN 11 53), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_double_#in~iptr.base|=(_ bv2 32), |modf_double_#in~iptr.offset|=(_ bv0 32), |modf_double_#in~x|=(_ NaN 11 53), ~one_modf~0=(fp #b0 #b01111111111 #b0000000000000000000000000000000000000000000000000000)] [?] call ~#iw_u~3.base, ~#iw_u~3.offset := #Ultimate.alloc(8bv32);call write~intINTTYPE4(~bvand32(2147483648bv32, ~high~1), ~#iw_u~3.base, ~bvadd32(4bv32, ~#iw_u~3.offset), 4bv32);call write~intINTTYPE4(0bv32, ~#iw_u~3.base, ~#iw_u~3.offset, 4bv32);call #t~mem13 := read~intFLOATTYPE8(~#iw_u~3.base, ~#iw_u~3.offset, 8bv32);~x := #t~mem13;call write~intINTTYPE4(#t~union14.lsw, ~#iw_u~3.base, ~#iw_u~3.offset, 4bv32);call write~intINTTYPE4(#t~union14.msw, ~#iw_u~3.base, ~bvadd32(4bv32, ~#iw_u~3.offset), 4bv32);havoc #t~union14.lsw, #t~union14.msw;havoc #t~mem13;call ULTIMATE.dealloc(~#iw_u~3.base, ~#iw_u~3.offset);havoc ~#iw_u~3.base, ~#iw_u~3.offset; VAL [modf_double_~high~1=(_ bv2146959360 32), modf_double_~i0~0=(_ bv2146959360 32), modf_double_~i1~0=(_ bv0 32), modf_double_~iptr.base=(_ bv2 32), modf_double_~iptr.offset=(_ bv0 32), modf_double_~j0~0=(_ bv1024 32), modf_double_~x=(fp #b0 #b00000000000 #b0000000000000000000000000000000000000000000000000000), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_double_#in~iptr.base|=(_ bv2 32), |modf_double_#in~iptr.offset|=(_ bv0 32), |modf_double_#in~x|=(_ NaN 11 53), ~one_modf~0=(fp #b0 #b01111111111 #b0000000000000000000000000000000000000000000000000000)] [?] goto; VAL [modf_double_~high~1=(_ bv2146959360 32), modf_double_~i0~0=(_ bv2146959360 32), modf_double_~i1~0=(_ bv0 32), modf_double_~iptr.base=(_ bv2 32), modf_double_~iptr.offset=(_ bv0 32), modf_double_~j0~0=(_ bv1024 32), modf_double_~x=(fp #b0 #b00000000000 #b0000000000000000000000000000000000000000000000000000), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_double_#in~iptr.base|=(_ bv2 32), |modf_double_#in~iptr.offset|=(_ bv0 32), |modf_double_#in~x|=(_ NaN 11 53), ~one_modf~0=(fp #b0 #b01111111111 #b0000000000000000000000000000000000000000000000000000)] [?] #res := ~x; VAL [modf_double_~high~1=(_ bv2146959360 32), modf_double_~i0~0=(_ bv2146959360 32), modf_double_~i1~0=(_ bv0 32), modf_double_~iptr.base=(_ bv2 32), modf_double_~iptr.offset=(_ bv0 32), modf_double_~j0~0=(_ bv1024 32), modf_double_~x=(fp #b0 #b00000000000 #b0000000000000000000000000000000000000000000000000000), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_double_#in~iptr.base|=(_ bv2 32), |modf_double_#in~iptr.offset|=(_ bv0 32), |modf_double_#in~x|=(_ NaN 11 53), |modf_double_#res|=(fp #b0 #b00000000000 #b0000000000000000000000000000000000000000000000000000), ~one_modf~0=(fp #b0 #b01111111111 #b0000000000000000000000000000000000000000000000000000)] [?] assume true; VAL [modf_double_~high~1=(_ bv2146959360 32), modf_double_~i0~0=(_ bv2146959360 32), modf_double_~i1~0=(_ bv0 32), modf_double_~iptr.base=(_ bv2 32), modf_double_~iptr.offset=(_ bv0 32), modf_double_~j0~0=(_ bv1024 32), modf_double_~x=(fp #b0 #b00000000000 #b0000000000000000000000000000000000000000000000000000), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_double_#in~iptr.base|=(_ bv2 32), |modf_double_#in~iptr.offset|=(_ bv0 32), |modf_double_#in~x|=(_ NaN 11 53), |modf_double_#res|=(fp #b0 #b00000000000 #b0000000000000000000000000000000000000000000000000000), ~one_modf~0=(fp #b0 #b01111111111 #b0000000000000000000000000000000000000000000000000000)] [?] RET #178#return; VAL [main_~x~0=(_ NaN 11 53), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~ret21|=(fp #b0 #b00000000000 #b0000000000000000000000000000000000000000000000000000), |main_~#iptr~0.base|=(_ bv2 32), |main_~#iptr~0.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111111 #b0000000000000000000000000000000000000000000000000000)] [?] ~res~0 := #t~ret21;havoc #t~ret21;call #t~mem22 := read~intFLOATTYPE8(~#iptr~0.base, ~#iptr~0.offset, 8bv32); VAL [main_~res~0=(fp #b0 #b00000000000 #b0000000000000000000000000000000000000000000000000000), main_~x~0=(_ NaN 11 53), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~mem22|=(_ NaN 11 53), |main_~#iptr~0.base|=(_ bv2 32), |main_~#iptr~0.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111111 #b0000000000000000000000000000000000000000000000000000)] [?] CALL call #t~ret23 := isnan_double(#t~mem22); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |isnan_double_#in~x|=(_ NaN 11 53), ~one_modf~0=(fp #b0 #b01111111111 #b0000000000000000000000000000000000000000000000000000)] [?] ~x := #in~x;#res := (if !~fp.eq~DOUBLE(~x, ~x) then 1bv32 else 0bv32); VAL [isnan_double_~x=(_ NaN 11 53), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |isnan_double_#in~x|=(_ NaN 11 53), |isnan_double_#res|=(_ bv1 32), ~one_modf~0=(fp #b0 #b01111111111 #b0000000000000000000000000000000000000000000000000000)] [?] assume true; VAL [isnan_double_~x=(_ NaN 11 53), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |isnan_double_#in~x|=(_ NaN 11 53), |isnan_double_#res|=(_ bv1 32), ~one_modf~0=(fp #b0 #b01111111111 #b0000000000000000000000000000000000000000000000000000)] [?] RET #180#return; VAL [main_~res~0=(fp #b0 #b00000000000 #b0000000000000000000000000000000000000000000000000000), main_~x~0=(_ NaN 11 53), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~mem22|=(_ NaN 11 53), |main_#t~ret23|=(_ bv1 32), |main_~#iptr~0.base|=(_ bv2 32), |main_~#iptr~0.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111111 #b0000000000000000000000000000000000000000000000000000)] [?] #t~short25 := 0bv32 != #t~ret23; VAL [main_~res~0=(fp #b0 #b00000000000 #b0000000000000000000000000000000000000000000000000000), main_~x~0=(_ NaN 11 53), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~mem22|=(_ NaN 11 53), |main_#t~ret23|=(_ bv1 32), |main_#t~short25|=true, |main_~#iptr~0.base|=(_ bv2 32), |main_~#iptr~0.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111111 #b0000000000000000000000000000000000000000000000000000)] [?] assume #t~short25; VAL [main_~res~0=(fp #b0 #b00000000000 #b0000000000000000000000000000000000000000000000000000), main_~x~0=(_ NaN 11 53), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~mem22|=(_ NaN 11 53), |main_#t~ret23|=(_ bv1 32), |main_#t~short25|=true, |main_~#iptr~0.base|=(_ bv2 32), |main_~#iptr~0.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111111 #b0000000000000000000000000000000000000000000000000000)] [?] CALL call #t~ret24 := isnan_double(~res~0); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |isnan_double_#in~x|=(fp #b0 #b00000000000 #b0000000000000000000000000000000000000000000000000000), ~one_modf~0=(fp #b0 #b01111111111 #b0000000000000000000000000000000000000000000000000000)] [?] ~x := #in~x;#res := (if !~fp.eq~DOUBLE(~x, ~x) then 1bv32 else 0bv32); VAL [isnan_double_~x=(fp #b0 #b00000000000 #b0000000000000000000000000000000000000000000000000000), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |isnan_double_#in~x|=(fp #b0 #b00000000000 #b0000000000000000000000000000000000000000000000000000), |isnan_double_#res|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111111 #b0000000000000000000000000000000000000000000000000000)] [?] assume true; VAL [isnan_double_~x=(fp #b0 #b00000000000 #b0000000000000000000000000000000000000000000000000000), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |isnan_double_#in~x|=(fp #b0 #b00000000000 #b0000000000000000000000000000000000000000000000000000), |isnan_double_#res|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111111 #b0000000000000000000000000000000000000000000000000000)] [?] RET #182#return; VAL [main_~res~0=(fp #b0 #b00000000000 #b0000000000000000000000000000000000000000000000000000), main_~x~0=(_ NaN 11 53), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~mem22|=(_ NaN 11 53), |main_#t~ret23|=(_ bv1 32), |main_#t~ret24|=(_ bv0 32), |main_#t~short25|=true, |main_~#iptr~0.base|=(_ bv2 32), |main_~#iptr~0.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111111 #b0000000000000000000000000000000000000000000000000000)] [?] #t~short25 := 0bv32 == #t~ret24; VAL [main_~res~0=(fp #b0 #b00000000000 #b0000000000000000000000000000000000000000000000000000), main_~x~0=(_ NaN 11 53), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~mem22|=(_ NaN 11 53), |main_#t~ret23|=(_ bv1 32), |main_#t~ret24|=(_ bv0 32), |main_#t~short25|=true, |main_~#iptr~0.base|=(_ bv2 32), |main_~#iptr~0.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111111 #b0000000000000000000000000000000000000000000000000000)] [?] assume #t~short25;havoc #t~ret23;havoc #t~short25;havoc #t~ret24;havoc #t~mem22; VAL [main_~res~0=(fp #b0 #b00000000000 #b0000000000000000000000000000000000000000000000000000), main_~x~0=(_ NaN 11 53), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#iptr~0.base|=(_ bv2 32), |main_~#iptr~0.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111111 #b0000000000000000000000000000000000000000000000000000)] [?] assume !false; VAL [main_~res~0=(fp #b0 #b00000000000 #b0000000000000000000000000000000000000000000000000000), main_~x~0=(_ NaN 11 53), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#iptr~0.base|=(_ bv2 32), |main_~#iptr~0.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111111 #b0000000000000000000000000000000000000000000000000000)] [?] CALL call ULTIMATE.init(); VAL [#NULL.base=6bv32, #NULL.offset=5bv32, old(#NULL.base)=6bv32, old(#NULL.offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv11, 5bv52), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 0bv11, 5bv52)] [?] #NULL.base, #NULL.offset := 0bv32, 0bv32; [?] #valid := #valid[0bv32 := 0bv1]; [L17] ~one_modf~0 := ~to_fp~DOUBLE(~roundNearestTiesToEven, 1.0); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=6bv32, old(#NULL.offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv11, 5bv52), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [?] ensures true; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=6bv32, old(#NULL.offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv11, 5bv52), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [?] RET call ULTIMATE.init(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [?] CALL call #t~ret26 := main(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [L116] ~x~0 := ~fp.div~DOUBLE(~roundNearestTiesToEven, ~Pluszero~DOUBLE(), ~Pluszero~DOUBLE()); [L117] call ~#iptr~0.base, ~#iptr~0.offset := #Ultimate.alloc(8bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L118] CALL call #t~ret21 := modf_double(~x~0, ~#iptr~0.base, ~#iptr~0.offset); VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [L19-L107] ~x := #in~x; [L19-L107] ~iptr.base, ~iptr.offset := #in~iptr.base, #in~iptr.offset; [L20] havoc ~i0~0; [L20] havoc ~i1~0; [L20] havoc ~j0~0; [L21] havoc ~i~0; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L23] call ~#ew_u~0.base, ~#ew_u~0.offset := #Ultimate.alloc(8bv32); [L24] call write~intFLOATTYPE8(~x, ~#ew_u~0.base, ~#ew_u~0.offset, 8bv32); [L25] call #t~mem0 := read~intINTTYPE4(~#ew_u~0.base, ~bvadd32(4bv32, ~#ew_u~0.offset), 4bv32); [L25] ~i0~0 := #t~mem0; [L25] call write~intFLOATTYPE8(#t~union1, ~#ew_u~0.base, ~#ew_u~0.offset, 8bv32); [L25] havoc #t~union1; [L25] havoc #t~mem0; [L26] call #t~mem2 := read~intINTTYPE4(~#ew_u~0.base, ~#ew_u~0.offset, 4bv32); [L26] ~i1~0 := #t~mem2; [L26] call write~intFLOATTYPE8(#t~union3, ~#ew_u~0.base, ~#ew_u~0.offset, 8bv32); [L26] havoc #t~mem2; [L26] havoc #t~union3; [L23] call ULTIMATE.dealloc(~#ew_u~0.base, ~#ew_u~0.offset); [L23] havoc ~#ew_u~0.base, ~#ew_u~0.offset; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L28] ~j0~0 := ~bvsub32(~bvand32(2047bv32, ~bvashr32(~i0~0, 20bv32)), 1023bv32); VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L29-L106] assume !~bvslt32(~j0~0, 20bv32); VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L65-L106] assume ~bvsgt32(~j0~0, 51bv32); [L66] havoc ~high~1; [L67] call write~intFLOATTYPE8(~fp.mul~DOUBLE(~roundNearestTiesToEven, ~x, ~one_modf~0), ~iptr.base, ~iptr.offset, 8bv32); VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L69] call ~#gh_u~1.base, ~#gh_u~1.offset := #Ultimate.alloc(8bv32); [L70] call write~intFLOATTYPE8(~x, ~#gh_u~1.base, ~#gh_u~1.offset, 8bv32); [L71] call #t~mem11 := read~intINTTYPE4(~#gh_u~1.base, ~bvadd32(4bv32, ~#gh_u~1.offset), 4bv32); [L71] ~high~1 := #t~mem11; [L71] call write~intFLOATTYPE8(#t~union12, ~#gh_u~1.base, ~#gh_u~1.offset, 8bv32); [L71] havoc #t~mem11; [L71] havoc #t~union12; [L69] call ULTIMATE.dealloc(~#gh_u~1.base, ~#gh_u~1.offset); [L69] havoc ~#gh_u~1.base, ~#gh_u~1.offset; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~high~1=2146959360bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L74] call ~#iw_u~3.base, ~#iw_u~3.offset := #Ultimate.alloc(8bv32); [L75] call write~intINTTYPE4(~bvand32(2147483648bv32, ~high~1), ~#iw_u~3.base, ~bvadd32(4bv32, ~#iw_u~3.offset), 4bv32); [L76] call write~intINTTYPE4(0bv32, ~#iw_u~3.base, ~#iw_u~3.offset, 4bv32); [L77] call #t~mem13 := read~intFLOATTYPE8(~#iw_u~3.base, ~#iw_u~3.offset, 8bv32); [L77] ~x := #t~mem13; [L77] call write~intINTTYPE4(#t~union14.lsw, ~#iw_u~3.base, ~#iw_u~3.offset, 4bv32); [L77] call write~intINTTYPE4(#t~union14.msw, ~#iw_u~3.base, ~bvadd32(4bv32, ~#iw_u~3.offset), 4bv32); [L77] havoc #t~union14.lsw, #t~union14.msw; [L77] havoc #t~mem13; [L74] call ULTIMATE.dealloc(~#iw_u~3.base, ~#iw_u~3.offset); [L74] havoc ~#iw_u~3.base, ~#iw_u~3.offset; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~high~1=2146959360bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52)] [L79] #res := ~x; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, #res=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~high~1=2146959360bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52)] [L19-L107] ensures true; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, #res=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~high~1=2146959360bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52)] [L118] RET call #t~ret21 := modf_double(~x~0, ~#iptr~0.base, ~#iptr~0.offset); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~ret21=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L118] ~res~0 := #t~ret21; [L118] havoc #t~ret21; [L121] call #t~mem22 := read~intFLOATTYPE8(~#iptr~0.base, ~#iptr~0.offset, 8bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121] CALL call #t~ret23 := isnan_double(#t~mem22); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [L15] ~x := #in~x; [L15] #res := (if !~fp.eq~DOUBLE(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, #res=1bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L15] ensures true; VAL [#in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, #res=1bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L121] RET call #t~ret23 := isnan_double(#t~mem22); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), #t~ret23=1bv32, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121] #t~short25 := 0bv32 != #t~ret23; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), #t~ret23=1bv32, #t~short25=true, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121] assume #t~short25; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), #t~ret23=1bv32, #t~short25=true, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121] CALL call #t~ret24 := isnan_double(~res~0); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), #NULL.base=0bv32, #NULL.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [L15] ~x := #in~x; [L15] #res := (if !~fp.eq~DOUBLE(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), #NULL.base=0bv32, #NULL.offset=0bv32, #res=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52)] [L15] ensures true; VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), #NULL.base=0bv32, #NULL.offset=0bv32, #res=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52)] [L121] RET call #t~ret24 := isnan_double(~res~0); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), #t~ret23=1bv32, #t~ret24=0bv32, #t~short25=true, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121] #t~short25 := 0bv32 == #t~ret24; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), #t~ret23=1bv32, #t~ret24=0bv32, #t~short25=true, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121-L124] assume #t~short25; [L121] havoc #t~ret23; [L121] havoc #t~short25; [L121] havoc #t~ret24; [L121] havoc #t~mem22; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L122] assert false; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.preprocessor.BoogiePreprocessorBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL.base=6bv32, #NULL.offset=5bv32, old(#NULL.base)=6bv32, old(#NULL.offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv11, 5bv52), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 0bv11, 5bv52)] [?] #NULL.base, #NULL.offset := 0bv32, 0bv32; [?] #valid := #valid[0bv32 := 0bv1]; [L17] ~one_modf~0 := ~to_fp~DOUBLE(~roundNearestTiesToEven, 1.0); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=6bv32, old(#NULL.offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv11, 5bv52), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [?] ensures true; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=6bv32, old(#NULL.offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv11, 5bv52), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [?] RET call ULTIMATE.init(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [?] CALL call #t~ret26 := main(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [L116] ~x~0 := ~fp.div~DOUBLE(~roundNearestTiesToEven, ~Pluszero~DOUBLE(), ~Pluszero~DOUBLE()); [L117] call ~#iptr~0.base, ~#iptr~0.offset := #Ultimate.alloc(8bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L118] CALL call #t~ret21 := modf_double(~x~0, ~#iptr~0.base, ~#iptr~0.offset); VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [L19-L107] ~x := #in~x; [L19-L107] ~iptr.base, ~iptr.offset := #in~iptr.base, #in~iptr.offset; [L20] havoc ~i0~0; [L20] havoc ~i1~0; [L20] havoc ~j0~0; [L21] havoc ~i~0; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L23] call ~#ew_u~0.base, ~#ew_u~0.offset := #Ultimate.alloc(8bv32); [L24] call write~intFLOATTYPE8(~x, ~#ew_u~0.base, ~#ew_u~0.offset, 8bv32); [L25] call #t~mem0 := read~intINTTYPE4(~#ew_u~0.base, ~bvadd32(4bv32, ~#ew_u~0.offset), 4bv32); [L25] ~i0~0 := #t~mem0; [L25] call write~intFLOATTYPE8(#t~union1, ~#ew_u~0.base, ~#ew_u~0.offset, 8bv32); [L25] havoc #t~union1; [L25] havoc #t~mem0; [L26] call #t~mem2 := read~intINTTYPE4(~#ew_u~0.base, ~#ew_u~0.offset, 4bv32); [L26] ~i1~0 := #t~mem2; [L26] call write~intFLOATTYPE8(#t~union3, ~#ew_u~0.base, ~#ew_u~0.offset, 8bv32); [L26] havoc #t~mem2; [L26] havoc #t~union3; [L23] call ULTIMATE.dealloc(~#ew_u~0.base, ~#ew_u~0.offset); [L23] havoc ~#ew_u~0.base, ~#ew_u~0.offset; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L28] ~j0~0 := ~bvsub32(~bvand32(2047bv32, ~bvashr32(~i0~0, 20bv32)), 1023bv32); VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L29-L106] assume !~bvslt32(~j0~0, 20bv32); VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L65-L106] assume ~bvsgt32(~j0~0, 51bv32); [L66] havoc ~high~1; [L67] call write~intFLOATTYPE8(~fp.mul~DOUBLE(~roundNearestTiesToEven, ~x, ~one_modf~0), ~iptr.base, ~iptr.offset, 8bv32); VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L69] call ~#gh_u~1.base, ~#gh_u~1.offset := #Ultimate.alloc(8bv32); [L70] call write~intFLOATTYPE8(~x, ~#gh_u~1.base, ~#gh_u~1.offset, 8bv32); [L71] call #t~mem11 := read~intINTTYPE4(~#gh_u~1.base, ~bvadd32(4bv32, ~#gh_u~1.offset), 4bv32); [L71] ~high~1 := #t~mem11; [L71] call write~intFLOATTYPE8(#t~union12, ~#gh_u~1.base, ~#gh_u~1.offset, 8bv32); [L71] havoc #t~mem11; [L71] havoc #t~union12; [L69] call ULTIMATE.dealloc(~#gh_u~1.base, ~#gh_u~1.offset); [L69] havoc ~#gh_u~1.base, ~#gh_u~1.offset; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~high~1=2146959360bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L74] call ~#iw_u~3.base, ~#iw_u~3.offset := #Ultimate.alloc(8bv32); [L75] call write~intINTTYPE4(~bvand32(2147483648bv32, ~high~1), ~#iw_u~3.base, ~bvadd32(4bv32, ~#iw_u~3.offset), 4bv32); [L76] call write~intINTTYPE4(0bv32, ~#iw_u~3.base, ~#iw_u~3.offset, 4bv32); [L77] call #t~mem13 := read~intFLOATTYPE8(~#iw_u~3.base, ~#iw_u~3.offset, 8bv32); [L77] ~x := #t~mem13; [L77] call write~intINTTYPE4(#t~union14.lsw, ~#iw_u~3.base, ~#iw_u~3.offset, 4bv32); [L77] call write~intINTTYPE4(#t~union14.msw, ~#iw_u~3.base, ~bvadd32(4bv32, ~#iw_u~3.offset), 4bv32); [L77] havoc #t~union14.lsw, #t~union14.msw; [L77] havoc #t~mem13; [L74] call ULTIMATE.dealloc(~#iw_u~3.base, ~#iw_u~3.offset); [L74] havoc ~#iw_u~3.base, ~#iw_u~3.offset; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~high~1=2146959360bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52)] [L79] #res := ~x; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, #res=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~high~1=2146959360bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52)] [L19-L107] ensures true; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, #res=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~high~1=2146959360bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52)] [L118] RET call #t~ret21 := modf_double(~x~0, ~#iptr~0.base, ~#iptr~0.offset); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~ret21=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L118] ~res~0 := #t~ret21; [L118] havoc #t~ret21; [L121] call #t~mem22 := read~intFLOATTYPE8(~#iptr~0.base, ~#iptr~0.offset, 8bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121] CALL call #t~ret23 := isnan_double(#t~mem22); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [L15] ~x := #in~x; [L15] #res := (if !~fp.eq~DOUBLE(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, #res=1bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L15] ensures true; VAL [#in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, #res=1bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L121] RET call #t~ret23 := isnan_double(#t~mem22); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), #t~ret23=1bv32, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121] #t~short25 := 0bv32 != #t~ret23; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), #t~ret23=1bv32, #t~short25=true, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121] assume #t~short25; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), #t~ret23=1bv32, #t~short25=true, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121] CALL call #t~ret24 := isnan_double(~res~0); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), #NULL.base=0bv32, #NULL.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [L15] ~x := #in~x; [L15] #res := (if !~fp.eq~DOUBLE(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), #NULL.base=0bv32, #NULL.offset=0bv32, #res=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52)] [L15] ensures true; VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), #NULL.base=0bv32, #NULL.offset=0bv32, #res=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52)] [L121] RET call #t~ret24 := isnan_double(~res~0); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), #t~ret23=1bv32, #t~ret24=0bv32, #t~short25=true, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121] #t~short25 := 0bv32 == #t~ret24; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), #t~ret23=1bv32, #t~ret24=0bv32, #t~short25=true, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121-L124] assume #t~short25; [L121] havoc #t~ret23; [L121] havoc #t~short25; [L121] havoc #t~ret24; [L121] havoc #t~mem22; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L122] assert false; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [?] CALL call ULTIMATE.init(); VAL [#NULL!base=6bv32, #NULL!offset=5bv32, old(#NULL!base)=6bv32, old(#NULL!offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv11, 5bv52), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 0bv11, 5bv52)] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; [L17] ~one_modf~0 := ~to_fp~DOUBLE(~roundNearestTiesToEven, 1.0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=6bv32, old(#NULL!offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv11, 5bv52), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [?] CALL call #t~ret26 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [L116] ~x~0 := ~fp.div~DOUBLE(~roundNearestTiesToEven, ~Pluszero~DOUBLE(), ~Pluszero~DOUBLE()); [L117] FCALL call ~#iptr~0 := #Ultimate.alloc(8bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L118] CALL call #t~ret21 := modf_double(~x~0, ~#iptr~0); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [L19-L107] ~x := #in~x; [L19-L107] ~iptr := #in~iptr; [L20] havoc ~i0~0; [L20] havoc ~i1~0; [L20] havoc ~j0~0; [L21] havoc ~i~0; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L23] FCALL call ~#ew_u~0 := #Ultimate.alloc(8bv32); [L24] FCALL call write~intFLOATTYPE8(~x, { base: ~#ew_u~0!base, offset: ~#ew_u~0!offset }, 8bv32); [L25] FCALL call #t~mem0 := read~intINTTYPE4({ base: ~#ew_u~0!base, offset: ~bvadd32(4bv32, ~#ew_u~0!offset) }, 4bv32); [L25] ~i0~0 := #t~mem0; [L25] FCALL call write~intFLOATTYPE8(#t~union1, { base: ~#ew_u~0!base, offset: ~#ew_u~0!offset }, 8bv32); [L25] havoc #t~union1; [L25] havoc #t~mem0; [L26] FCALL call #t~mem2 := read~intINTTYPE4({ base: ~#ew_u~0!base, offset: ~#ew_u~0!offset }, 4bv32); [L26] ~i1~0 := #t~mem2; [L26] FCALL call write~intFLOATTYPE8(#t~union3, { base: ~#ew_u~0!base, offset: ~#ew_u~0!offset }, 8bv32); [L26] havoc #t~mem2; [L26] havoc #t~union3; [L23] FCALL call ULTIMATE.dealloc(~#ew_u~0); [L23] havoc ~#ew_u~0; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L28] ~j0~0 := ~bvsub32(~bvand32(2047bv32, ~bvashr32(~i0~0, 20bv32)), 1023bv32); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L29] COND FALSE !(~bvslt32(~j0~0, 20bv32)) VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L65] COND TRUE ~bvsgt32(~j0~0, 51bv32) [L66] havoc ~high~1; [L67] FCALL call write~intFLOATTYPE8(~fp.mul~DOUBLE(~roundNearestTiesToEven, ~x, ~one_modf~0), ~iptr, 8bv32); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L69] FCALL call ~#gh_u~1 := #Ultimate.alloc(8bv32); [L70] FCALL call write~intFLOATTYPE8(~x, { base: ~#gh_u~1!base, offset: ~#gh_u~1!offset }, 8bv32); [L71] FCALL call #t~mem11 := read~intINTTYPE4({ base: ~#gh_u~1!base, offset: ~bvadd32(4bv32, ~#gh_u~1!offset) }, 4bv32); [L71] ~high~1 := #t~mem11; [L71] FCALL call write~intFLOATTYPE8(#t~union12, { base: ~#gh_u~1!base, offset: ~#gh_u~1!offset }, 8bv32); [L71] havoc #t~mem11; [L71] havoc #t~union12; [L69] FCALL call ULTIMATE.dealloc(~#gh_u~1); [L69] havoc ~#gh_u~1; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~high~1=2146959360bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L74] FCALL call ~#iw_u~3 := #Ultimate.alloc(8bv32); [L75] FCALL call write~intINTTYPE4(~bvand32(2147483648bv32, ~high~1), { base: ~#iw_u~3!base, offset: ~bvadd32(4bv32, ~#iw_u~3!offset) }, 4bv32); [L76] FCALL call write~intINTTYPE4(0bv32, { base: ~#iw_u~3!base, offset: ~#iw_u~3!offset }, 4bv32); [L77] FCALL call #t~mem13 := read~intFLOATTYPE8({ base: ~#iw_u~3!base, offset: ~#iw_u~3!offset }, 8bv32); [L77] ~x := #t~mem13; [L77] FCALL call write~intINTTYPE4(#t~union14!lsw, { base: ~#iw_u~3!base, offset: ~#iw_u~3!offset }, 4bv32); [L77] FCALL call write~intINTTYPE4(#t~union14!msw, { base: ~#iw_u~3!base, offset: ~bvadd32(4bv32, ~#iw_u~3!offset) }, 4bv32); [L77] havoc #t~union14; [L77] havoc #t~mem13; [L74] FCALL call ULTIMATE.dealloc(~#iw_u~3); [L74] havoc ~#iw_u~3; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~high~1=2146959360bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52)] [L79] #res := ~x; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, #res=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~high~1=2146959360bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52)] [L118] RET call #t~ret21 := modf_double(~x~0, ~#iptr~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret21=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L118] ~res~0 := #t~ret21; [L118] havoc #t~ret21; [L121] FCALL call #t~mem22 := read~intFLOATTYPE8(~#iptr~0, 8bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121] CALL call #t~ret23 := isnan_double(#t~mem22); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [L15] ~x := #in~x; [L15] #res := (if !~fp.eq~DOUBLE(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, #res=1bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L121] RET call #t~ret23 := isnan_double(#t~mem22); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), #t~ret23=1bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121] #t~short25 := 0bv32 != #t~ret23; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), #t~ret23=1bv32, #t~short25=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121] COND TRUE #t~short25 VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), #t~ret23=1bv32, #t~short25=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121] CALL call #t~ret24 := isnan_double(~res~0); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [L15] ~x := #in~x; [L15] #res := (if !~fp.eq~DOUBLE(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), #NULL!base=0bv32, #NULL!offset=0bv32, #res=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52)] [L121] RET call #t~ret24 := isnan_double(~res~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), #t~ret23=1bv32, #t~ret24=0bv32, #t~short25=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121] #t~short25 := 0bv32 == #t~ret24; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), #t~ret23=1bv32, #t~ret24=0bv32, #t~short25=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121] COND TRUE #t~short25 [L121] havoc #t~ret23; [L121] havoc #t~short25; [L121] havoc #t~ret24; [L121] havoc #t~mem22; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L122] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.procedureinliner.backtranslation.InlinerBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL!base=6bv32, #NULL!offset=5bv32, old(#NULL!base)=6bv32, old(#NULL!offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv11, 5bv52), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 0bv11, 5bv52)] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; [L17] ~one_modf~0 := ~to_fp~DOUBLE(~roundNearestTiesToEven, 1.0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=6bv32, old(#NULL!offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv11, 5bv52), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [?] CALL call #t~ret26 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [L116] ~x~0 := ~fp.div~DOUBLE(~roundNearestTiesToEven, ~Pluszero~DOUBLE(), ~Pluszero~DOUBLE()); [L117] FCALL call ~#iptr~0 := #Ultimate.alloc(8bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L118] CALL call #t~ret21 := modf_double(~x~0, ~#iptr~0); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [L19-L107] ~x := #in~x; [L19-L107] ~iptr := #in~iptr; [L20] havoc ~i0~0; [L20] havoc ~i1~0; [L20] havoc ~j0~0; [L21] havoc ~i~0; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L23] FCALL call ~#ew_u~0 := #Ultimate.alloc(8bv32); [L24] FCALL call write~intFLOATTYPE8(~x, { base: ~#ew_u~0!base, offset: ~#ew_u~0!offset }, 8bv32); [L25] FCALL call #t~mem0 := read~intINTTYPE4({ base: ~#ew_u~0!base, offset: ~bvadd32(4bv32, ~#ew_u~0!offset) }, 4bv32); [L25] ~i0~0 := #t~mem0; [L25] FCALL call write~intFLOATTYPE8(#t~union1, { base: ~#ew_u~0!base, offset: ~#ew_u~0!offset }, 8bv32); [L25] havoc #t~union1; [L25] havoc #t~mem0; [L26] FCALL call #t~mem2 := read~intINTTYPE4({ base: ~#ew_u~0!base, offset: ~#ew_u~0!offset }, 4bv32); [L26] ~i1~0 := #t~mem2; [L26] FCALL call write~intFLOATTYPE8(#t~union3, { base: ~#ew_u~0!base, offset: ~#ew_u~0!offset }, 8bv32); [L26] havoc #t~mem2; [L26] havoc #t~union3; [L23] FCALL call ULTIMATE.dealloc(~#ew_u~0); [L23] havoc ~#ew_u~0; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L28] ~j0~0 := ~bvsub32(~bvand32(2047bv32, ~bvashr32(~i0~0, 20bv32)), 1023bv32); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L29] COND FALSE !(~bvslt32(~j0~0, 20bv32)) VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L65] COND TRUE ~bvsgt32(~j0~0, 51bv32) [L66] havoc ~high~1; [L67] FCALL call write~intFLOATTYPE8(~fp.mul~DOUBLE(~roundNearestTiesToEven, ~x, ~one_modf~0), ~iptr, 8bv32); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L69] FCALL call ~#gh_u~1 := #Ultimate.alloc(8bv32); [L70] FCALL call write~intFLOATTYPE8(~x, { base: ~#gh_u~1!base, offset: ~#gh_u~1!offset }, 8bv32); [L71] FCALL call #t~mem11 := read~intINTTYPE4({ base: ~#gh_u~1!base, offset: ~bvadd32(4bv32, ~#gh_u~1!offset) }, 4bv32); [L71] ~high~1 := #t~mem11; [L71] FCALL call write~intFLOATTYPE8(#t~union12, { base: ~#gh_u~1!base, offset: ~#gh_u~1!offset }, 8bv32); [L71] havoc #t~mem11; [L71] havoc #t~union12; [L69] FCALL call ULTIMATE.dealloc(~#gh_u~1); [L69] havoc ~#gh_u~1; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~high~1=2146959360bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L74] FCALL call ~#iw_u~3 := #Ultimate.alloc(8bv32); [L75] FCALL call write~intINTTYPE4(~bvand32(2147483648bv32, ~high~1), { base: ~#iw_u~3!base, offset: ~bvadd32(4bv32, ~#iw_u~3!offset) }, 4bv32); [L76] FCALL call write~intINTTYPE4(0bv32, { base: ~#iw_u~3!base, offset: ~#iw_u~3!offset }, 4bv32); [L77] FCALL call #t~mem13 := read~intFLOATTYPE8({ base: ~#iw_u~3!base, offset: ~#iw_u~3!offset }, 8bv32); [L77] ~x := #t~mem13; [L77] FCALL call write~intINTTYPE4(#t~union14!lsw, { base: ~#iw_u~3!base, offset: ~#iw_u~3!offset }, 4bv32); [L77] FCALL call write~intINTTYPE4(#t~union14!msw, { base: ~#iw_u~3!base, offset: ~bvadd32(4bv32, ~#iw_u~3!offset) }, 4bv32); [L77] havoc #t~union14; [L77] havoc #t~mem13; [L74] FCALL call ULTIMATE.dealloc(~#iw_u~3); [L74] havoc ~#iw_u~3; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~high~1=2146959360bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52)] [L79] #res := ~x; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, #res=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~high~1=2146959360bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52)] [L118] RET call #t~ret21 := modf_double(~x~0, ~#iptr~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret21=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L118] ~res~0 := #t~ret21; [L118] havoc #t~ret21; [L121] FCALL call #t~mem22 := read~intFLOATTYPE8(~#iptr~0, 8bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121] CALL call #t~ret23 := isnan_double(#t~mem22); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [L15] ~x := #in~x; [L15] #res := (if !~fp.eq~DOUBLE(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, #res=1bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L121] RET call #t~ret23 := isnan_double(#t~mem22); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), #t~ret23=1bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121] #t~short25 := 0bv32 != #t~ret23; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), #t~ret23=1bv32, #t~short25=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121] COND TRUE #t~short25 VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), #t~ret23=1bv32, #t~short25=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121] CALL call #t~ret24 := isnan_double(~res~0); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [L15] ~x := #in~x; [L15] #res := (if !~fp.eq~DOUBLE(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), #NULL!base=0bv32, #NULL!offset=0bv32, #res=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52)] [L121] RET call #t~ret24 := isnan_double(~res~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), #t~ret23=1bv32, #t~ret24=0bv32, #t~short25=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121] #t~short25 := 0bv32 == #t~ret24; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), #t~ret23=1bv32, #t~ret24=0bv32, #t~short25=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121] COND TRUE #t~short25 [L121] havoc #t~ret23; [L121] havoc #t~short25; [L121] havoc #t~ret24; [L121] havoc #t~mem22; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L122] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [?] CALL call ULTIMATE.init(); VAL [#NULL!base=6bv32, #NULL!offset=5bv32, old(#NULL!base)=6bv32, old(#NULL!offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv11, 5bv52), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 0bv11, 5bv52)] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; [L17] ~one_modf~0 := ~to_fp~DOUBLE(~roundNearestTiesToEven, 1.0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=6bv32, old(#NULL!offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv11, 5bv52), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [?] CALL call #t~ret26 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [L116] ~x~0 := ~fp.div~DOUBLE(~roundNearestTiesToEven, ~Pluszero~DOUBLE(), ~Pluszero~DOUBLE()); [L117] FCALL call ~#iptr~0 := #Ultimate.alloc(8bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L118] CALL call #t~ret21 := modf_double(~x~0, ~#iptr~0); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [L19-L107] ~x := #in~x; [L19-L107] ~iptr := #in~iptr; [L20] havoc ~i0~0; [L20] havoc ~i1~0; [L20] havoc ~j0~0; [L21] havoc ~i~0; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L23] FCALL call ~#ew_u~0 := #Ultimate.alloc(8bv32); [L24] FCALL call write~intFLOATTYPE8(~x, { base: ~#ew_u~0!base, offset: ~#ew_u~0!offset }, 8bv32); [L25] FCALL call #t~mem0 := read~intINTTYPE4({ base: ~#ew_u~0!base, offset: ~bvadd32(4bv32, ~#ew_u~0!offset) }, 4bv32); [L25] ~i0~0 := #t~mem0; [L25] FCALL call write~intFLOATTYPE8(#t~union1, { base: ~#ew_u~0!base, offset: ~#ew_u~0!offset }, 8bv32); [L25] havoc #t~union1; [L25] havoc #t~mem0; [L26] FCALL call #t~mem2 := read~intINTTYPE4({ base: ~#ew_u~0!base, offset: ~#ew_u~0!offset }, 4bv32); [L26] ~i1~0 := #t~mem2; [L26] FCALL call write~intFLOATTYPE8(#t~union3, { base: ~#ew_u~0!base, offset: ~#ew_u~0!offset }, 8bv32); [L26] havoc #t~mem2; [L26] havoc #t~union3; [L23] FCALL call ULTIMATE.dealloc(~#ew_u~0); [L23] havoc ~#ew_u~0; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L28] ~j0~0 := ~bvsub32(~bvand32(2047bv32, ~bvashr32(~i0~0, 20bv32)), 1023bv32); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L29] COND FALSE !(~bvslt32(~j0~0, 20bv32)) VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L65] COND TRUE ~bvsgt32(~j0~0, 51bv32) [L66] havoc ~high~1; [L67] FCALL call write~intFLOATTYPE8(~fp.mul~DOUBLE(~roundNearestTiesToEven, ~x, ~one_modf~0), ~iptr, 8bv32); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L69] FCALL call ~#gh_u~1 := #Ultimate.alloc(8bv32); [L70] FCALL call write~intFLOATTYPE8(~x, { base: ~#gh_u~1!base, offset: ~#gh_u~1!offset }, 8bv32); [L71] FCALL call #t~mem11 := read~intINTTYPE4({ base: ~#gh_u~1!base, offset: ~bvadd32(4bv32, ~#gh_u~1!offset) }, 4bv32); [L71] ~high~1 := #t~mem11; [L71] FCALL call write~intFLOATTYPE8(#t~union12, { base: ~#gh_u~1!base, offset: ~#gh_u~1!offset }, 8bv32); [L71] havoc #t~mem11; [L71] havoc #t~union12; [L69] FCALL call ULTIMATE.dealloc(~#gh_u~1); [L69] havoc ~#gh_u~1; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~high~1=2146959360bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L74] FCALL call ~#iw_u~3 := #Ultimate.alloc(8bv32); [L75] FCALL call write~intINTTYPE4(~bvand32(2147483648bv32, ~high~1), { base: ~#iw_u~3!base, offset: ~bvadd32(4bv32, ~#iw_u~3!offset) }, 4bv32); [L76] FCALL call write~intINTTYPE4(0bv32, { base: ~#iw_u~3!base, offset: ~#iw_u~3!offset }, 4bv32); [L77] FCALL call #t~mem13 := read~intFLOATTYPE8({ base: ~#iw_u~3!base, offset: ~#iw_u~3!offset }, 8bv32); [L77] ~x := #t~mem13; [L77] FCALL call write~intINTTYPE4(#t~union14!lsw, { base: ~#iw_u~3!base, offset: ~#iw_u~3!offset }, 4bv32); [L77] FCALL call write~intINTTYPE4(#t~union14!msw, { base: ~#iw_u~3!base, offset: ~bvadd32(4bv32, ~#iw_u~3!offset) }, 4bv32); [L77] havoc #t~union14; [L77] havoc #t~mem13; [L74] FCALL call ULTIMATE.dealloc(~#iw_u~3); [L74] havoc ~#iw_u~3; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~high~1=2146959360bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52)] [L79] #res := ~x; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, #res=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~high~1=2146959360bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52)] [L118] RET call #t~ret21 := modf_double(~x~0, ~#iptr~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret21=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L118] ~res~0 := #t~ret21; [L118] havoc #t~ret21; [L121] FCALL call #t~mem22 := read~intFLOATTYPE8(~#iptr~0, 8bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121] CALL call #t~ret23 := isnan_double(#t~mem22); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [L15] ~x := #in~x; [L15] #res := (if !~fp.eq~DOUBLE(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, #res=1bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L121] RET call #t~ret23 := isnan_double(#t~mem22); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), #t~ret23=1bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121] #t~short25 := 0bv32 != #t~ret23; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), #t~ret23=1bv32, #t~short25=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121] COND TRUE #t~short25 VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), #t~ret23=1bv32, #t~short25=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121] CALL call #t~ret24 := isnan_double(~res~0); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [L15] ~x := #in~x; [L15] #res := (if !~fp.eq~DOUBLE(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), #NULL!base=0bv32, #NULL!offset=0bv32, #res=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52)] [L121] RET call #t~ret24 := isnan_double(~res~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), #t~ret23=1bv32, #t~ret24=0bv32, #t~short25=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121] #t~short25 := 0bv32 == #t~ret24; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), #t~ret23=1bv32, #t~ret24=0bv32, #t~short25=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121] COND TRUE #t~short25 [L121] havoc #t~ret23; [L121] havoc #t~short25; [L121] havoc #t~ret24; [L121] havoc #t~mem22; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L122] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] ----- ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL!base=6bv32, #NULL!offset=5bv32, old(#NULL!base)=6bv32, old(#NULL!offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv11, 5bv52), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 0bv11, 5bv52)] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; [L17] ~one_modf~0 := ~to_fp~DOUBLE(~roundNearestTiesToEven, 1.0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=6bv32, old(#NULL!offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv11, 5bv52), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [?] CALL call #t~ret26 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [L116] ~x~0 := ~fp.div~DOUBLE(~roundNearestTiesToEven, ~Pluszero~DOUBLE(), ~Pluszero~DOUBLE()); [L117] FCALL call ~#iptr~0 := #Ultimate.alloc(8bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L118] CALL call #t~ret21 := modf_double(~x~0, ~#iptr~0); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [L19-L107] ~x := #in~x; [L19-L107] ~iptr := #in~iptr; [L20] havoc ~i0~0; [L20] havoc ~i1~0; [L20] havoc ~j0~0; [L21] havoc ~i~0; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L23] FCALL call ~#ew_u~0 := #Ultimate.alloc(8bv32); [L24] FCALL call write~intFLOATTYPE8(~x, { base: ~#ew_u~0!base, offset: ~#ew_u~0!offset }, 8bv32); [L25] FCALL call #t~mem0 := read~intINTTYPE4({ base: ~#ew_u~0!base, offset: ~bvadd32(4bv32, ~#ew_u~0!offset) }, 4bv32); [L25] ~i0~0 := #t~mem0; [L25] FCALL call write~intFLOATTYPE8(#t~union1, { base: ~#ew_u~0!base, offset: ~#ew_u~0!offset }, 8bv32); [L25] havoc #t~union1; [L25] havoc #t~mem0; [L26] FCALL call #t~mem2 := read~intINTTYPE4({ base: ~#ew_u~0!base, offset: ~#ew_u~0!offset }, 4bv32); [L26] ~i1~0 := #t~mem2; [L26] FCALL call write~intFLOATTYPE8(#t~union3, { base: ~#ew_u~0!base, offset: ~#ew_u~0!offset }, 8bv32); [L26] havoc #t~mem2; [L26] havoc #t~union3; [L23] FCALL call ULTIMATE.dealloc(~#ew_u~0); [L23] havoc ~#ew_u~0; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L28] ~j0~0 := ~bvsub32(~bvand32(2047bv32, ~bvashr32(~i0~0, 20bv32)), 1023bv32); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L29] COND FALSE !(~bvslt32(~j0~0, 20bv32)) VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L65] COND TRUE ~bvsgt32(~j0~0, 51bv32) [L66] havoc ~high~1; [L67] FCALL call write~intFLOATTYPE8(~fp.mul~DOUBLE(~roundNearestTiesToEven, ~x, ~one_modf~0), ~iptr, 8bv32); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L69] FCALL call ~#gh_u~1 := #Ultimate.alloc(8bv32); [L70] FCALL call write~intFLOATTYPE8(~x, { base: ~#gh_u~1!base, offset: ~#gh_u~1!offset }, 8bv32); [L71] FCALL call #t~mem11 := read~intINTTYPE4({ base: ~#gh_u~1!base, offset: ~bvadd32(4bv32, ~#gh_u~1!offset) }, 4bv32); [L71] ~high~1 := #t~mem11; [L71] FCALL call write~intFLOATTYPE8(#t~union12, { base: ~#gh_u~1!base, offset: ~#gh_u~1!offset }, 8bv32); [L71] havoc #t~mem11; [L71] havoc #t~union12; [L69] FCALL call ULTIMATE.dealloc(~#gh_u~1); [L69] havoc ~#gh_u~1; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~high~1=2146959360bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L74] FCALL call ~#iw_u~3 := #Ultimate.alloc(8bv32); [L75] FCALL call write~intINTTYPE4(~bvand32(2147483648bv32, ~high~1), { base: ~#iw_u~3!base, offset: ~bvadd32(4bv32, ~#iw_u~3!offset) }, 4bv32); [L76] FCALL call write~intINTTYPE4(0bv32, { base: ~#iw_u~3!base, offset: ~#iw_u~3!offset }, 4bv32); [L77] FCALL call #t~mem13 := read~intFLOATTYPE8({ base: ~#iw_u~3!base, offset: ~#iw_u~3!offset }, 8bv32); [L77] ~x := #t~mem13; [L77] FCALL call write~intINTTYPE4(#t~union14!lsw, { base: ~#iw_u~3!base, offset: ~#iw_u~3!offset }, 4bv32); [L77] FCALL call write~intINTTYPE4(#t~union14!msw, { base: ~#iw_u~3!base, offset: ~bvadd32(4bv32, ~#iw_u~3!offset) }, 4bv32); [L77] havoc #t~union14; [L77] havoc #t~mem13; [L74] FCALL call ULTIMATE.dealloc(~#iw_u~3); [L74] havoc ~#iw_u~3; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~high~1=2146959360bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52)] [L79] #res := ~x; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, #res=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~high~1=2146959360bv32, ~i0~0=2146959360bv32, ~i1~0=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=1024bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52)] [L118] RET call #t~ret21 := modf_double(~x~0, ~#iptr~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret21=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L118] ~res~0 := #t~ret21; [L118] havoc #t~ret21; [L121] FCALL call #t~mem22 := read~intFLOATTYPE8(~#iptr~0, 8bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121] CALL call #t~ret23 := isnan_double(#t~mem22); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [L15] ~x := #in~x; [L15] #res := (if !~fp.eq~DOUBLE(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, #res=1bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~NaN~LONGDOUBLE()] [L121] RET call #t~ret23 := isnan_double(#t~mem22); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), #t~ret23=1bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121] #t~short25 := 0bv32 != #t~ret23; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), #t~ret23=1bv32, #t~short25=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121] COND TRUE #t~short25 VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), #t~ret23=1bv32, #t~short25=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121] CALL call #t~ret24 := isnan_double(~res~0); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52)] [L15] ~x := #in~x; [L15] #res := (if !~fp.eq~DOUBLE(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), #NULL!base=0bv32, #NULL!offset=0bv32, #res=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~x=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52)] [L121] RET call #t~ret24 := isnan_double(~res~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), #t~ret23=1bv32, #t~ret24=0bv32, #t~short25=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121] #t~short25 := 0bv32 == #t~ret24; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem22=~NaN~LONGDOUBLE(), #t~ret23=1bv32, #t~ret24=0bv32, #t~short25=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L121] COND TRUE #t~short25 [L121] havoc #t~ret23; [L121] havoc #t~short25; [L121] havoc #t~ret24; [L121] havoc #t~mem22; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L122] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 1023bv11, 0bv52), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv11, 0bv52), ~x~0=~NaN~LONGDOUBLE()] [L17] static const double one_modf = 1.0; VAL [\old(one_modf)=0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000025, one_modf=1.0] [L116] double x = 0.0 / 0.0; [L117] double iptr; VAL [iptr={2:0}, one_modf=1.0, x=NaN] [L118] CALL, EXPR modf_double(x, &iptr) VAL [\old(x)=NaN, iptr={2:0}, one_modf=1.0] [L20] __int32_t i0, i1, j0; [L21] __uint32_t i; VAL [\old(x)=NaN, iptr={2:0}, iptr={2:0}, one_modf=1.0, x=NaN] [L23] ieee_double_shape_type ew_u; [L24] ew_u.value = (x) [L25] EXPR ew_u.parts.msw [L25] (i0) = ew_u.parts.msw [L26] EXPR ew_u.parts.lsw [L26] (i1) = ew_u.parts.lsw [L28] j0 = ((i0 >> 20) & 0x7ff) - 0x3ff VAL [\old(x)=NaN, i0=2146959360, i1=0, iptr={2:0}, iptr={2:0}, j0=1024, one_modf=1.0, x=NaN] [L29] COND FALSE !(j0 < 20) VAL [\old(x)=NaN, i0=2146959360, i1=0, iptr={2:0}, iptr={2:0}, j0=1024, one_modf=1.0, x=NaN] [L65] COND TRUE j0 > 51 [L66] __uint32_t high; [L67] *iptr = x * one_modf VAL [\old(x)=NaN, i0=2146959360, i1=0, iptr={2:0}, iptr={2:0}, j0=1024, one_modf=1.0, x=NaN] [L69] ieee_double_shape_type gh_u; [L70] gh_u.value = (x) [L71] EXPR gh_u.parts.msw [L71] (high) = gh_u.parts.msw [L74] ieee_double_shape_type iw_u; [L75] iw_u.parts.msw = (high & 0x80000000) [L76] iw_u.parts.lsw = (0) [L77] EXPR iw_u.value [L77] (x) = iw_u.value [L79] return x; VAL [\old(x)=NaN, \result=0.0, high=2146959360, i0=2146959360, i1=0, iptr={2:0}, iptr={2:0}, j0=1024, one_modf=1.0, x=0.0] [L118] RET, EXPR modf_double(x, &iptr) VAL [iptr={2:0}, modf_double(x, &iptr)=0.0, one_modf=1.0, x=NaN] [L118] double res = modf_double(x, &iptr); [L121] EXPR \read(iptr) VAL [\read(iptr)=NaN, iptr={2:0}, one_modf=1.0, res=0.0, x=NaN] [L121] CALL, EXPR isnan_double(iptr) VAL [\old(x)=NaN, one_modf=1.0] [L15] return x != x; VAL [\old(x)=NaN, \result=1, one_modf=1.0, x=NaN] [L121] RET, EXPR isnan_double(iptr) VAL [\read(iptr)=NaN, iptr={2:0}, isnan_double(iptr)=1, one_modf=1.0, res=0.0, x=NaN] [L121] isnan_double(iptr) && !isnan_double(res) VAL [\read(iptr)=NaN, iptr={2:0}, isnan_double(iptr)=1, isnan_double(iptr) && !isnan_double(res)=1, one_modf=1.0, res=0.0, x=NaN] [L121] CALL, EXPR isnan_double(res) VAL [\old(x)=0.0, one_modf=1.0] [L15] return x != x; VAL [\old(x)=0.0, \result=0, one_modf=1.0, x=0.0] [L121] RET, EXPR isnan_double(res) VAL [\read(iptr)=NaN, iptr={2:0}, isnan_double(iptr)=1, isnan_double(iptr) && !isnan_double(res)=1, isnan_double(res)=0, one_modf=1.0, res=0.0, x=NaN] [L121] isnan_double(iptr) && !isnan_double(res) VAL [\read(iptr)=NaN, iptr={2:0}, isnan_double(iptr)=1, isnan_double(iptr) && !isnan_double(res)=1, isnan_double(res)=0, one_modf=1.0, res=0.0, x=NaN] [L121] COND TRUE isnan_double(iptr) && !isnan_double(res) [L122] __VERIFIER_error() VAL [iptr={2:0}, one_modf=1.0, res=0.0, x=NaN] ----- [2018-11-23 02:31:16,815 INFO L145 WitnessManager]: Wrote witness to /tmp/vcloud-vcloud-master/worker/working_dir_06be7cd3-bc7e-415f-b0bf-44be4a922df1/bin-2019/uautomizer/witness.graphml [2018-11-23 02:31:16,815 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2018-11-23 02:31:16,816 INFO L168 Benchmark]: Toolchain (without parser) took 15750.42 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 146.8 MB). Free memory was 942.5 MB in the beginning and 925.5 MB in the end (delta: 16.9 MB). Peak memory consumption was 163.7 MB. Max. memory is 11.5 GB. [2018-11-23 02:31:16,816 INFO L168 Benchmark]: CDTParser took 0.15 ms. Allocated memory is still 1.0 GB. Free memory is still 978.7 MB. There was no memory consumed. Max. memory is 11.5 GB. [2018-11-23 02:31:16,817 INFO L168 Benchmark]: CACSL2BoogieTranslator took 231.70 ms. Allocated memory is still 1.0 GB. Free memory was 942.5 MB in the beginning and 926.4 MB in the end (delta: 16.1 MB). Peak memory consumption was 16.1 MB. Max. memory is 11.5 GB. [2018-11-23 02:31:16,817 INFO L168 Benchmark]: Boogie Procedure Inliner took 18.36 ms. Allocated memory is still 1.0 GB. Free memory is still 926.4 MB. There was no memory consumed. Max. memory is 11.5 GB. [2018-11-23 02:31:16,817 INFO L168 Benchmark]: Boogie Preprocessor took 74.29 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 146.8 MB). Free memory was 926.4 MB in the beginning and 1.1 GB in the end (delta: -209.0 MB). Peak memory consumption was 15.2 MB. Max. memory is 11.5 GB. [2018-11-23 02:31:16,818 INFO L168 Benchmark]: RCFGBuilder took 952.03 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 36.7 MB). Peak memory consumption was 36.7 MB. Max. memory is 11.5 GB. [2018-11-23 02:31:16,818 INFO L168 Benchmark]: TraceAbstraction took 14333.97 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 932.0 MB in the end (delta: 166.7 MB). Peak memory consumption was 166.7 MB. Max. memory is 11.5 GB. [2018-11-23 02:31:16,818 INFO L168 Benchmark]: Witness Printer took 136.68 ms. Allocated memory is still 1.2 GB. Free memory was 932.0 MB in the beginning and 925.5 MB in the end (delta: 6.5 MB). Peak memory consumption was 6.5 MB. Max. memory is 11.5 GB. [2018-11-23 02:31:16,821 INFO L336 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.15 ms. Allocated memory is still 1.0 GB. Free memory is still 978.7 MB. There was no memory consumed. Max. memory is 11.5 GB. * CACSL2BoogieTranslator took 231.70 ms. Allocated memory is still 1.0 GB. Free memory was 942.5 MB in the beginning and 926.4 MB in the end (delta: 16.1 MB). Peak memory consumption was 16.1 MB. Max. memory is 11.5 GB. * Boogie Procedure Inliner took 18.36 ms. Allocated memory is still 1.0 GB. Free memory is still 926.4 MB. There was no memory consumed. Max. memory is 11.5 GB. * Boogie Preprocessor took 74.29 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 146.8 MB). Free memory was 926.4 MB in the beginning and 1.1 GB in the end (delta: -209.0 MB). Peak memory consumption was 15.2 MB. Max. memory is 11.5 GB. * RCFGBuilder took 952.03 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 36.7 MB). Peak memory consumption was 36.7 MB. Max. memory is 11.5 GB. * TraceAbstraction took 14333.97 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 932.0 MB in the end (delta: 166.7 MB). Peak memory consumption was 166.7 MB. Max. memory is 11.5 GB. * Witness Printer took 136.68 ms. Allocated memory is still 1.2 GB. Free memory was 932.0 MB in the beginning and 925.5 MB in the end (delta: 6.5 MB). Peak memory consumption was 6.5 MB. Max. memory is 11.5 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - CounterExampleResult [Line: 122]: a call of __VERIFIER_error() is reachable a call of __VERIFIER_error() is reachable We found a FailurePath: [L17] static const double one_modf = 1.0; VAL [\old(one_modf)=0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000025, one_modf=1.0] [L116] double x = 0.0 / 0.0; [L117] double iptr; VAL [iptr={2:0}, one_modf=1.0, x=NaN] [L118] CALL, EXPR modf_double(x, &iptr) VAL [\old(x)=NaN, iptr={2:0}, one_modf=1.0] [L20] __int32_t i0, i1, j0; [L21] __uint32_t i; VAL [\old(x)=NaN, iptr={2:0}, iptr={2:0}, one_modf=1.0, x=NaN] [L23] ieee_double_shape_type ew_u; [L24] ew_u.value = (x) [L25] EXPR ew_u.parts.msw [L25] (i0) = ew_u.parts.msw [L26] EXPR ew_u.parts.lsw [L26] (i1) = ew_u.parts.lsw [L28] j0 = ((i0 >> 20) & 0x7ff) - 0x3ff VAL [\old(x)=NaN, i0=2146959360, i1=0, iptr={2:0}, iptr={2:0}, j0=1024, one_modf=1.0, x=NaN] [L29] COND FALSE !(j0 < 20) VAL [\old(x)=NaN, i0=2146959360, i1=0, iptr={2:0}, iptr={2:0}, j0=1024, one_modf=1.0, x=NaN] [L65] COND TRUE j0 > 51 [L66] __uint32_t high; [L67] *iptr = x * one_modf VAL [\old(x)=NaN, i0=2146959360, i1=0, iptr={2:0}, iptr={2:0}, j0=1024, one_modf=1.0, x=NaN] [L69] ieee_double_shape_type gh_u; [L70] gh_u.value = (x) [L71] EXPR gh_u.parts.msw [L71] (high) = gh_u.parts.msw [L74] ieee_double_shape_type iw_u; [L75] iw_u.parts.msw = (high & 0x80000000) [L76] iw_u.parts.lsw = (0) [L77] EXPR iw_u.value [L77] (x) = iw_u.value [L79] return x; VAL [\old(x)=NaN, \result=0.0, high=2146959360, i0=2146959360, i1=0, iptr={2:0}, iptr={2:0}, j0=1024, one_modf=1.0, x=0.0] [L118] RET, EXPR modf_double(x, &iptr) VAL [iptr={2:0}, modf_double(x, &iptr)=0.0, one_modf=1.0, x=NaN] [L118] double res = modf_double(x, &iptr); [L121] EXPR \read(iptr) VAL [\read(iptr)=NaN, iptr={2:0}, one_modf=1.0, res=0.0, x=NaN] [L121] CALL, EXPR isnan_double(iptr) VAL [\old(x)=NaN, one_modf=1.0] [L15] return x != x; VAL [\old(x)=NaN, \result=1, one_modf=1.0, x=NaN] [L121] RET, EXPR isnan_double(iptr) VAL [\read(iptr)=NaN, iptr={2:0}, isnan_double(iptr)=1, one_modf=1.0, res=0.0, x=NaN] [L121] isnan_double(iptr) && !isnan_double(res) VAL [\read(iptr)=NaN, iptr={2:0}, isnan_double(iptr)=1, isnan_double(iptr) && !isnan_double(res)=1, one_modf=1.0, res=0.0, x=NaN] [L121] CALL, EXPR isnan_double(res) VAL [\old(x)=0.0, one_modf=1.0] [L15] return x != x; VAL [\old(x)=0.0, \result=0, one_modf=1.0, x=0.0] [L121] RET, EXPR isnan_double(res) VAL [\read(iptr)=NaN, iptr={2:0}, isnan_double(iptr)=1, isnan_double(iptr) && !isnan_double(res)=1, isnan_double(res)=0, one_modf=1.0, res=0.0, x=NaN] [L121] isnan_double(iptr) && !isnan_double(res) VAL [\read(iptr)=NaN, iptr={2:0}, isnan_double(iptr)=1, isnan_double(iptr) && !isnan_double(res)=1, isnan_double(res)=0, one_modf=1.0, res=0.0, x=NaN] [L121] COND TRUE isnan_double(iptr) && !isnan_double(res) [L122] __VERIFIER_error() VAL [iptr={2:0}, one_modf=1.0, res=0.0, x=NaN] - StatisticsResult: Ultimate Automizer benchmark data CFG has 5 procedures, 58 locations, 1 error locations. UNSAFE Result, 14.2s OverallTime, 5 OverallIterations, 2 TraceHistogramMax, 9.8s AutomataDifference, 0.0s DeadEndRemovalTime, 0.0s HoareAnnotationTime, HoareTripleCheckerStatistics: 179 SDtfs, 142 SDslu, 360 SDs, 0 SdLazy, 170 SolverSat, 4 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 4.3s Time, PredicateUnifierStatistics: 0 DeclaredPredicates, 119 GetRequests, 95 SyntacticMatches, 0 SemanticMatches, 24 ConstructedPredicates, 1 IntricatePredicates, 0 DeprecatedPredicates, 14 ImplicationChecksByTransitivity, 7.5s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=58occurred in iteration=0, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s AbstIntTime, 0 AbstIntIterations, 0 AbstIntStrong, NaN AbsIntWeakeningRatio, NaN AbsIntAvgWeakeningVarsNumRemoved, NaN AbsIntAvgWeakenedConjuncts, 0.0s DumpTime, AutomataMinimizationStatistics: 0.0s AutomataMinimizationTime, 4 MinimizatonAttempts, 2 StatesRemovedByMinimization, 1 NontrivialMinimizations, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TraceCheckStatistics: 0.0s SsaConstructionTime, 0.5s SatisfiabilityAnalysisTime, 3.1s InterpolantComputationTime, 147 NumberOfCodeBlocks, 147 NumberOfCodeBlocksAsserted, 5 NumberOfCheckSat, 109 ConstructedInterpolants, 16 QuantifiedInterpolants, 14078 SizeOfPredicates, 12 NumberOfNonLiveVariables, 324 ConjunctsInSsa, 22 ConjunctsInUnsatCore, 4 InterpolantComputations, 4 PerfectInterpolantSequences, 3/3 InterpolantCoveringCapability, InvariantSynthesisStatistics: No data available, InterpolantConsolidationStatistics: No data available, ReuseStatistics: No data available RESULT: Ultimate proved your program to be incorrect! Received shutdown request...