Logo Search packages:      
Sourcecode: blender version File versions

rational.c File Reference

Detailed Description

Rational numbers
Michael Niedermayer <michaelni@gmx.at>

Definition in file rational.c.

#include <limits.h>
#include "common.h"
#include "mathematics.h"
#include "rational.h"

Go to the source code of this file.


AVRational av_add_q (AVRational b, AVRational c)
AVRational av_d2q (double d, int max)
AVRational av_div_q (AVRational b, AVRational c)
AVRational av_mul_q (AVRational b, AVRational c)
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