|
Dynamic Fraction Library 1.0.0
Reference-counted arbitrary precision rational number library (MIT OR Unlicense)
|
Functions for testing fraction properties. More...
Functions | |
| bool | df_is_zero (df_frac f) |
| Test if fraction is zero. | |
| bool | df_is_one (df_frac f) |
| Test if fraction is one. | |
| bool | df_is_negative (df_frac f) |
| Test if fraction is negative. | |
| bool | df_is_positive (df_frac f) |
| Test if fraction is positive. | |
| bool | df_is_integer (df_frac f) |
| Test if fraction is an integer. | |
Functions for testing fraction properties.
| bool df_is_integer | ( | df_frac | f | ) |
Test if fraction is an integer.
| f | Fraction to test |
Definition at line 898 of file dynamic_fraction.h.
| bool df_is_negative | ( | df_frac | f | ) |
Test if fraction is negative.
| f | Fraction to test |
Definition at line 886 of file dynamic_fraction.h.
| bool df_is_one | ( | df_frac | f | ) |
Test if fraction is one.
| f | Fraction to test |
Definition at line 880 of file dynamic_fraction.h.
| bool df_is_positive | ( | df_frac | f | ) |
Test if fraction is positive.
| f | Fraction to test |
Definition at line 892 of file dynamic_fraction.h.
| bool df_is_zero | ( | df_frac | f | ) |
Test if fraction is zero.
| f | Fraction to test |
Definition at line 874 of file dynamic_fraction.h.