A frequency generator, comprising: means for generating a phase signal representing a phase angle; and means for receiving the phase signal as a phase input; means for generating a sin-cos curve value as an output, the sin-cos curve value approximately equal to a sin-cos value at the phase angle within a predefined tolerance; and means for storing a point lookup table comprised of main sin-cos endpoints at predefined intervals in a first angle range, each of the main sin-cos endpoints comprising the sin-cos curve value at a given angle among the predefined intervals in the first angle range; characterized by: means for storing a correction lookup table comprised of a plurality of correction values representing a difference between first sub-main sin-cos endpoints at predefined intervals in a second angle range between two associated main sin-cos endpoints in the point lookup table and approximations of the sin-cos curve values at given angles among the predefined intervals in the second angle range; means for selecting from the point lookup table a first main sin-cos endpoint associated with a first side of the phase angle and a second main sin-cos endpoint associated with a second side of the phase angle; means for selecting from the correction lookup table a first correction value correlated with the first main sin-cos endpoint and a second correction value correlated with the second main sin-cos endpoint; and means for generating the sin-cos curve value at the phase angle in the means for generating the sin-cos curve value output signal based on the first and second main sin-cos endpoints and the first and second correction values. means for generating a phase signal representing a phase angle; and means for receiving the phase signal as a phase input; means for generating a sin-cos curve value as an output, the sin-cos curve value approximately equal to a sin-cos value at the phase angle within a predefined tolerance; and means for storing a point lookup table comprised of main sin-cos endpoints at predefined intervals in a first angle range, each of the main sin-cos endpoints comprising the sin-cos curve value at a given angle among the predefined intervals in the first angle range; means for storing a correction lookup table comprised of a plurality of correction values representing a difference between first sub-main sin-cos endpoints at predefined intervals in a second angle range between two associated main sin-cos endpoints in the point lookup table and approximations of the sin-cos curve values at given angles among the predefined intervals in the second angle range; means for selecting from the point lookup table a first main sin-cos endpoint associated with a first side of the phase angle and a second main sin-cos endpoint associated with a second side of the phase angle; means for selecting from the correction lookup table a first correction value correlated with the first main sin-cos endpoint and a second correction value correlated with the second main sin-cos endpoint; and means for generating the sin-cos curve value at the phase angle in the means for generating the sin-cos curve value output signal based on the first and second main sin-cos endpoints and the first and second correction values.