Hypotehtical: Pascal code for comptuing a square root ( IIEE single precision)..
- User
Hypotehtical: Pascal code for comptuing a square root ( IIEE single precision)..
- Assistant
If you're looking to compute the square root of a number using Pascal code with IEEE single precision, you would typically use the built-in
Sqrtfunction which is available in standard Pascal. However, if you want to implement your own square root function from scratch, you can do so using the Newton-Raphson method or other numerical methods. - User
Hypothetical C code for page sort.. page numbers are string based.. Hence "1" "2".. "8".."9".."10".."20" is the ordering... Not a simple charcter matching sort
- Assistant
If you want to sort page numbers represented as strings in a way that recognizes their numeric value (e.g., "1", "2", ..., "9", "10", "20"), you'll need to implement a custom sorting function in C that converts these strings to integers for comparing their values.
- User
Hypothetical C code, sort by roman numeral.
- Assistant