mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
added GSdoc comments to class, method, and function declarations; for some classes some comments were already in the source file (not the header), in which case further comments were added here; otherwise comments were put in the headers
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19586 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
095158b3d2
commit
ecfd6ef7da
38 changed files with 2408 additions and 161 deletions
|
@ -50,7 +50,7 @@ typedef enum {
|
|||
NSCalculationDivideByZero
|
||||
} NSCalculationError;
|
||||
|
||||
/*
|
||||
/**
|
||||
* Give a precision of at least 38 decimal digits
|
||||
* requires 128 bits.
|
||||
*/
|
||||
|
@ -59,6 +59,21 @@ typedef enum {
|
|||
#define NSDecimalMaxDigit 38
|
||||
#define NSDecimalNoScale 128
|
||||
|
||||
/**
|
||||
* <p>Structure providing equivalent functionality, in conjunction with a set
|
||||
* of functions, to the [NSDecimalNumber] class.</p>
|
||||
<example>
|
||||
typedef struct {
|
||||
signed char exponent; // Signed exponent - -128 to 127
|
||||
BOOL isNegative; // Is this negative?
|
||||
BOOL validNumber; // Is this a valid number?
|
||||
unsigned char length; // digits in mantissa.
|
||||
unsigned char cMantissa[2*NSDecimalMaxDigit];
|
||||
} NSDecimal;
|
||||
</example>
|
||||
* <p>Instances can be initialized using the NSDecimalFromString(NSString *)
|
||||
* function.</p>
|
||||
*/
|
||||
typedef struct {
|
||||
signed char exponent; /* Signed exponent - -128 to 127 */
|
||||
BOOL isNegative; /* Is this negative? */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue