[fpc-pascal] C to Pascal convertion. Hex Float.

dmitry boyarintsev skalogryz.lists at gmail.com
Tue Apr 28 12:10:59 CEST 2009


hello Developers.

Does anyone have an experience with converting hex-float numbers from
C to Pascal?

i've converted all OpenCL (cl_platfrom.h, cl.h, cl_gl.h) headers
already,except for the following constants:

 CL_FLT_MAX          0x1.fffffep127f
 CL_FLT_MIN          0x1.0p-126f
 CL_FLT_EPSILON      0x1.0p-23f
 CL_DBL_MAX          0x1.fffffffffffffp1023
 CL_DBL_MIN          0x1.0p-1022
 CL_DBL_EPSILON      0x1.0p-52

any suggestions?

thanks,
dmitry



More information about the fpc-pascal mailing list