Comments on: How to Use GNU bc (Basic Calculator) in Linux https://www.tecmint.com/bc-command-examples/ Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks. Thu, 13 Jul 2023 14:26:55 +0000 hourly 1 By: Dieter Mueller https://www.tecmint.com/bc-command-examples/comment-page-1/#comment-1996408 Fri, 14 Apr 2023 15:40:40 +0000 https://www.tecmint.com/?p=30303#comment-1996408 I used Linux for many years. Now I have an HP desktop. I’m very dissatisfied with the way the “Giant” is making changes without my consent. I was trying to change back to LINUX but I’m not sure that all my “simple” contents are getting lost.

If I can change it back to LINUX without losing it – I will change it immediately. Microsoft changes my products during the night without consent. I would like to change if I do not have losses. Please let me know. Thanks

]]>
By: Rock Brentwood https://www.tecmint.com/bc-command-examples/comment-page-1/#comment-1930484 Thu, 15 Dec 2022 05:31:00 +0000 https://www.tecmint.com/?p=30303#comment-1930484 echo "n = 5, x = 3, i = 0, y = 1; a: if (i < n) { i++, y *= x; goto a; } else y;" | cbc

(It returns 243.)

C-BC is now on GitHub: https://github.com/RockBrentwood/CBC

C-BC is significantly larger than GNU BC. I'm fixing to fork and graft GNU BC, itself, into C-BC which is also about to under another upward revision (the switch statement was added in, in the last revision). Among other things, the I/O primitives might be remade into primitives for multi-threaded concurrency in a manner similar to Go.

]]>
By: Kieran https://www.tecmint.com/bc-command-examples/comment-page-1/#comment-1850024 Sun, 24 Jul 2022 01:29:26 +0000 https://www.tecmint.com/?p=30303#comment-1850024 I am using BestCalculator, Shipwreck software, which utilizes bcBasic.

I’ve written two short programs which work perfectly but the third very similar one using the same variables and the same equation keeps coming up with the left side variable being NaN or, after I set one of the right-hand constants at a value instead of zero, ‘infinity’.

]]>
By: Kevin Reynolds https://www.tecmint.com/bc-command-examples/comment-page-1/#comment-1025844 Tue, 21 Aug 2018 08:43:06 +0000 https://www.tecmint.com/?p=30303#comment-1025844 In reply to Aaron Kili.

You got it! And thank you too!

]]>
By: Aaron Kili https://www.tecmint.com/bc-command-examples/comment-page-1/#comment-1025809 Tue, 21 Aug 2018 05:53:25 +0000 https://www.tecmint.com/?p=30303#comment-1025809 In reply to bluebat.

@bluebat

Thanks for sharing.

]]>