There is also a complete flowchart (you can see below) which is designed to calculate negative zero, and positive powers of a number.
For more information, you can visit the PowerPoint slides here.
(Please note that the slides are in Persian. Contact me for an English version.)
All of the flowcharts are designed exclusively by me.