Logo Search packages:      
Sourcecode: blender version File versions

rational.h File Reference

Detailed Description

Rational numbers.
Michael Niedermayer <michaelni@gmx.at>

Definition in file rational.h.

Go to the source code of this file.


struct  AVRational


AVRational av_add_q (AVRational b, AVRational c)
static int av_cmp_q (AVRational a, AVRational b)
AVRational av_d2q (double d, int max)
AVRational av_div_q (AVRational b, AVRational c)
AVRational av_mul_q (AVRational b, AVRational c)
static double av_q2d (AVRational a)
int av_reduce (int *dst_nom, int *dst_den, int64_t nom, int64_t den, int64_t max)
AVRational av_sub_q (AVRational b, AVRational c)

Generated by  Doxygen 1.6.0   Back to index