Quantcast
Channel: Tips for golfing in C - Code Golf Stack Exchange
Viewing all articles
Browse latest Browse all 67

Answer by AZTECCO for Tips for golfing in C

$
0
0

Sometimes you can use floating point where you don't expect to.

Ignoring possible floating point imprecision issues you still can use them with many operators you wouldn't normally expect :

  • ++-- increment / decrement
  • !||&& Boolean comparative
  • ? and even ternary!

Viewing all articles
Browse latest Browse all 67

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>