NQC (Not Quite C) is a programming language for several Lego MindStorms products, including the RCX, CyberMaster, and Scout.
An NQC library providing some basic math functions.
Returns the smaller of the two provided values.
Returns the larger of the two provided values.
If input is outside the min/max range, return min or max as appropriate.
Given an angle outside 0-360 degrees, move it back into range.
Simple cosine table.
Website