File: hs-double-conversion.h

package info (click to toggle)
haskell-double-conversion 2.0.5.0%2Bds1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 152 kB
  • sloc: haskell: 611; cpp: 340; ansic: 31; makefile: 6
file content (36 lines) | stat: -rw-r--r-- 1,306 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#ifndef _hs_double_conversion_h
#define _hs_double_conversion_h

#ifdef __cplusplus
extern "C"
{
#endif

#include <stddef.h>

int _hs_ToShortestLength(void);
int _hs_Text_ToShortest(double value, uint16_t *buf);
int _hs_Text_ToShortestFloat(float value, uint16_t *buf);
int _hs_ToShortest(double value, char *buf);
int _hs_ToShortestFloat(float value, char *buf);
int _hs_ToFixedLength(void);
int _hs_Text_ToFixed(double value, uint16_t *buf, int ndigits);
int _hs_Text_ToFixedFloat(float value, uint16_t *buf, int ndigits);
int _hs_ToFixed(double value, char *buf, int ndigits);
int _hs_ToFixedFloat(float value, char *buf, int ndigits);
int _hs_ToExponentialLength(void);
int _hs_Text_ToExponential(double value, uint16_t *buf, int ndigits);
int _hs_Text_ToExponentialFloat(float value, uint16_t *buf, int ndigits);
int _hs_ToExponential(double value, char *buf, int ndigits);
int _hs_ToExponentialFloat(float value, char *buf, int ndigits);
int _hs_ToPrecisionLength(void);
int _hs_Text_ToPrecision(double value, uint16_t *buf, int ndigits);
int _hs_Text_ToPrecisionFloat(float value, uint16_t *buf, int ndigits);
int _hs_ToPrecision(double value, char *buf, int ndigits);
int _hs_ToPrecisionFloat(float value, char *buf, int ndigits);

#ifdef __cplusplus
}
#endif

#endif /* _hs_double_conversion_h */