Saturday, June 25, 2011

Limiting an angle to [0 360) or bit operations for dummies

Let's write a C function which takes as input an angle in degrees and if that angle is outside [0, 360), limits it to [0 360). Normally I would write it like this:

Sunday, June 12, 2011

Gücüksu Hikayeleri

Geçen hafta Gücük'teydim. Yağmur bolluğu ve havanın serin olması nedeniyle geçen yılki kadar çiçek açmamıştı, örneğin kuşburnu çiçekleri ve gelincik tarlası henüz ortada yoktu.