Sack Library Documentation
|
Fraction namespace contains a PFRACTION type which is used to store integer fraction values. Provides for ration and proportion scaling. Can also represent fractions that contain a whole part and a fractional part (5 2/3 : five and two-thirds).
Name |
Description |
The following table lists functions in this documentation. | |
The following table lists structs, records, enums in this documentation. | |
The following table lists macros in this documentation. |
|
Name |
Description |
|
| |
|
Add one fraction to another. | |
|
| |
|
Log coordpair to logfile. | |
|
NOT IMPLEMENTED | |
|
Results in the integer part of the fraction. If the faction was 330/10 then the result would be 33. | |
|
scales a fraction by a signed integer value. | |
|
Scales a 32 bit integer value by a fraction. The result is the scaled value result. | |
|
Unsafe log of a coordinate pair's value into a string. The string should be at least 69 characters long. | |
|
Log a fraction into a string. |
Name |
Description |
Define the call type of the function. | |
Define the library linkage for a these functions. | |
| |
Sets the value of a FRACTION. This is passed as the whole number and the fraction. |
|
Name |
Description |
|
A coordinate pair is a 2 dimensional fraction expression. can be regarded as x, y or width,height. Each coordiante is a Fraction type. | |
|
The faction type. Stores a fraction as integer numerator/denominator instead of a floating point scalar. Pointer to a FRACTION. The faction type. Stores a fraction as integer numerator/denominator instead of a floating point scalar. | |
|
A coordinate pair is a 2 dimensional fraction expression. can be regarded as x, y or width,height. Each coordiante is a Fraction type. | |
|
The faction type. Stores a fraction as integer numerator/denominator instead of a floating point scalar. Pointer to a FRACTION. The faction type. Stores a fraction as integer numerator/denominator instead of a floating point scalar. | |
|
A coordinate pair is a 2 dimensional fraction expression. can be regarded as x, y or width,height. Each coordiante is a Fraction type. | |
|
The faction type. Stores a fraction as integer numerator/denominator instead of a floating point scalar. Pointer to a FRACTION. The faction type. Stores a fraction as integer numerator/denominator instead of a floating point scalar. |
Copyright (c) 2000+. All rights reserved.
|
What do you think about this topic? Send feedback!
|