Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2009-04

C to Pascal convertion. Hex Float.

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

dmitry boyarintsev

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

Reply by email