fraction_multiply


Description:


public bool fraction_multiply (int a_n, int a_d, int b_n, int b_d, out int res_n, out int res_d)

Multiplies the fractions a_n/a_d and b_n/b_d and stores the result in res_n and res_d.

Parameters:

a_n

Numerator of first value

a_d

Denominator of first value

b_n

Numerator of second value

b_d

Denominator of second value

res_n

Pointer to int to hold the result numerator

res_d

Pointer to int to hold the result denominator

Returns:

false on overflow, true otherwise.


Namespace: Gst.Util
Package: gstreamer-1.0



2022 vala-language.org