<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>failed to printf float value</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/82843/failed-to-printf-float-value</link><description>hardware : nRF52840DK-52840 
 SDK : NCSV1.7.1 
 IDE:Visual Studio Code 
 I wanted to printf float value , so I set CONFIG_CBPRINTF_FB_SUPPORT=y in my prj.conf file, my application code succeeded to printf float value. 
 then I wanted ot use sqrt and acos</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 17 Dec 2021 15:21:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/82843/failed-to-printf-float-value" /><item><title>RE: failed to printf float value</title><link>https://devzone.nordicsemi.com/thread/344191?ContentTypeID=1</link><pubDate>Fri, 17 Dec 2021 15:21:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:74e979de-fb56-4956-a416-0239d3a3e30b</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;That&amp;#39;s great news, I will consider this case resolved then &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: failed to printf float value</title><link>https://devzone.nordicsemi.com/thread/344049?ContentTypeID=1</link><pubDate>Fri, 17 Dec 2021 06:24:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bbecbce1-fabc-4974-9135-c2b1b2235b34</guid><dc:creator>sixuanlu&amp;amp;sky</dc:creator><description>&lt;p&gt;Hi OVREBEKK&lt;/p&gt;
&lt;p&gt;printk works for printing out float value&lt;/p&gt;
&lt;p&gt;Thanks a lot&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: failed to printf float value</title><link>https://devzone.nordicsemi.com/thread/343992?ContentTypeID=1</link><pubDate>Thu, 16 Dec 2021 16:07:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da4b352c-b304-4316-8b5c-301fe8df955b</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It should work if you use printk instead of printf.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you try this and see if it solves your problem?&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>