{"id":48,"date":"2011-10-14T12:00:58","date_gmt":"2011-10-14T12:00:58","guid":{"rendered":"http:\/\/www.electronic-products-development.com\/?p=48"},"modified":"2022-02-17T10:13:11","modified_gmt":"2022-02-17T10:13:11","slug":"constants","status":"publish","type":"post","link":"https:\/\/ibex.tech\/c\/c\/memory\/constants","title":{"rendered":"Constants"},"content":{"rendered":"\n<h5 class=\"wp-block-heading\">Float<\/h5>\n\n\n\n<p>A value with decimal places is interpreted as double by default.  Use f to specify as float literal, e,g,<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>MyVariable = 1.2f;\nMyVariable = -1.2f;\nMyVariable = -1.f;    \/\/Note the decimal point is required otherwise values is seen as an integer and a compiler error generated<\/code><\/pre>\n\n\n\n<h5 class=\"wp-block-heading\">Unsigned<\/h5>\n\n\n\n<p>&#8216;u&#8217; or &#8216;U&#8217; to indicate an unsigned constant, like 33u<br>&#8216;ul&#8217; or &#8216;UL&#8217; to indicate an unsigned long constant, like 32767ul<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Float A value with decimal places is interpreted as double by default. Use f to specify as float literal, e,g, Unsigned &#8216;u&#8217; or &#8216;U&#8217; to indicate an unsigned constant, like 33u&#8216;ul&#8217; or &#8216;UL&#8217; to indicate an unsigned long constant, like 32767ul<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-48","post","type-post","status-publish","format-standard","hentry","category-memory"],"_links":{"self":[{"href":"https:\/\/ibex.tech\/c\/wp-json\/wp\/v2\/posts\/48","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibex.tech\/c\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ibex.tech\/c\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ibex.tech\/c\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/ibex.tech\/c\/wp-json\/wp\/v2\/comments?post=48"}],"version-history":[{"count":4,"href":"https:\/\/ibex.tech\/c\/wp-json\/wp\/v2\/posts\/48\/revisions"}],"predecessor-version":[{"id":1237,"href":"https:\/\/ibex.tech\/c\/wp-json\/wp\/v2\/posts\/48\/revisions\/1237"}],"wp:attachment":[{"href":"https:\/\/ibex.tech\/c\/wp-json\/wp\/v2\/media?parent=48"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibex.tech\/c\/wp-json\/wp\/v2\/categories?post=48"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibex.tech\/c\/wp-json\/wp\/v2\/tags?post=48"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}