{"id":2473,"date":"2016-01-26T21:33:06","date_gmt":"2016-01-26T20:33:06","guid":{"rendered":"http:\/\/roboblog.fatal-fury.de\/?p=2473"},"modified":"2016-01-26T21:34:12","modified_gmt":"2016-01-26T20:34:12","slug":"evaluation-of-logical-operations","status":"publish","type":"post","link":"http:\/\/roboblog.fatal-fury.de\/?p=2473","title":{"rendered":"Evaluation of logical operations"},"content":{"rendered":"<p>Spass mit dem Standard.<br \/>\nAus dem Fortran 90\/95 Standard [1] Kapitel 7.1.7.6.<\/p>\n<blockquote><p>\n Evaluation of logical intrinsic operations<br \/>\nThe rules given in 7.2.4 specify the interpretation of logical intrinsic operations. Once the<br \/>\ninterpretation of an expression has been established in accordance with those rules, the processor<br \/>\nmay evaluate any other expression that is logically equivalent, provided that the integrity of<br \/>\nparentheses in any expression is not violated.<br \/>\nNOTE 7.29<br \/>\nFor example, for the variables L1, L2, and L3 of type logical, the processor may choose to<br \/>\nevaluate the expression<br \/>\nL1 .AND. L2 .AND. L3<br \/>\nas<br \/>\nL1 .AND. (L2 .AND. L3)<br \/>\nTwo expressions of type logical are logically equivalent if their values are equal for all possible<br \/>\nvalues of their primaries.\n<\/p><\/blockquote>\n<p>Aus dem c++11 Standard [2] Kapitel 5.14<\/p>\n<blockquote><p>\nlogical-and-expression<br \/>\nThe && operator groups left-to-right.\n<\/p><\/blockquote>\n<p>Und die andern Operatoren auch left-to-right.<\/p>\n<p>Aus dem C89 Standard [3] Kapitel 3.3<\/p>\n<blockquote><p>Except as indicated by the syntax27 or otherwise specified later (for the function-call operator () , && , || , ?: , and comma operators), the order of evaluation of subexpressions and the order in which side effects take place are both unspecified.\n<\/p><\/blockquote>\n<p>hf<\/p>\n<p>[1] http:\/\/j3-fortran.org\/doc\/standing\/archive\/007\/97-007r2\/pdf\/97-007r2.pdf<br \/>\n[2] http:\/\/www.open-std.org\/jtc1\/sc22\/wg21\/docs\/papers\/2012\/n3337.pdf<br \/>\n[3] https:\/\/web.archive.org\/web\/20050207005628\/http:\/\/dev.unicals.com\/papers\/c89-draft.html#3.3<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Spass mit dem Standard. Aus dem Fortran 90\/95 Standard [1] Kapitel 7.1.7.6. Evaluation of logical intrinsic operations The rules given in 7.2.4 specify the interpretation of logical intrinsic operations. Once the interpretation of an expression has been established in accordance with those rules, the processor may evaluate any other expression that is logically equivalent, provided [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[14,17,30],"class_list":["post-2473","post","type-post","status-publish","format-standard","hentry","category-allgemein","tag-c","tag-cpp","tag-fortran"],"_links":{"self":[{"href":"http:\/\/roboblog.fatal-fury.de\/index.php?rest_route=\/wp\/v2\/posts\/2473","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/roboblog.fatal-fury.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/roboblog.fatal-fury.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/roboblog.fatal-fury.de\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/roboblog.fatal-fury.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2473"}],"version-history":[{"count":3,"href":"http:\/\/roboblog.fatal-fury.de\/index.php?rest_route=\/wp\/v2\/posts\/2473\/revisions"}],"predecessor-version":[{"id":2476,"href":"http:\/\/roboblog.fatal-fury.de\/index.php?rest_route=\/wp\/v2\/posts\/2473\/revisions\/2476"}],"wp:attachment":[{"href":"http:\/\/roboblog.fatal-fury.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2473"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/roboblog.fatal-fury.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2473"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/roboblog.fatal-fury.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2473"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}