Changeset 2159 for trunk/src/NTDLL/crt.cpp
- Timestamp:
- Dec 20, 1999, 12:47:20 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/NTDLL/crt.cpp
r1955 r2159 1 /* $Id: crt.cpp,v 1.1 2 1999-12-03 11:56:26sandervl Exp $ */1 /* $Id: crt.cpp,v 1.13 1999-12-20 11:47:00 sandervl Exp $ */ 2 2 3 3 /* … … 23 23 #include "ntdll.h" 24 24 #include <heapstring.h> 25 #include "arith64.h" 25 26 26 27 /* … … 1310 1311 *****************************************************************************/ 1311 1312 1312 LONG CDECL NTDLL__CIpow(double x, double y) 1313 { 1314 dprintf(("NTDLL: _CIpow\n")); 1315 dprintf(("should be register function\n")); 1316 return pow(x, y); 1313 LONG CDECL NTDLL__CIpow() 1314 { 1315 double x,y; 1316 POP_FPU(y); 1317 POP_FPU(x); 1318 return pow(x,y); 1317 1319 } 1318 1320 … … 1332 1334 LONG CDECL NTDLL__ftol(void) 1333 1335 { 1334 dprintf(("NTDLL: _ftol not implemented.\n")); 1335 1336 return 0; 1336 /* don't just do DO_FPU("fistp",retval), because the rounding 1337 * mode must also be set to "round towards zero"... */ 1338 double fl; 1339 POP_FPU(fl); 1340 return (LONG)fl; 1337 1341 } 1338 1342 … … 1352 1356 LPSTR CDECL NTDLL__ltoa(long x,LPSTR buf,INT radix) 1353 1357 { 1354 dprintf(("NTDLL: _ltoa(%08xh, %08xh, %08xh) not implemented\n", 1355 x, 1356 buf, 1357 radix)); 1358 1359 return 0; 1358 return ltoa(x,buf,radix); 1360 1359 } 1361 1360 … … 1619 1618 LPSTR CDECL NTDLL__ultoa(long x,LPSTR buf,INT radix) 1620 1619 { 1621 dprintf(("NTDLL: _ultoa(%08xh, %08xh, %08xh) not implemented\n", 1622 x, 1623 buf, 1624 radix)); 1625 1626 return 0; 1620 return ultoa(x,buf,radix); 1627 1621 } 1628 1622 … … 1863 1857 1864 1858 1865 /*****************************************************************************1866 * Name :1867 * Purpose :1868 * Parameters:1869 * Variables :1870 * Result :1871 * Remark : NTDLL.9091872 * Status :1873 *1874 * Author : Jens Wiessner1875 *****************************************************************************/1876 1877 void CDECL NTDLL_qsort( void *base, size_t nmemb, size_t size,1878 int (*compar)( const void *s1, const void *s2 ))1879 {1880 dprintf(("NTDLL: qsort(%08xh, %08xh, %08xh, %08xh) not implemented.\n",1881 base, nmemb, size, compar));1882 }1883 1884 1859 1885 1860 /*****************************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.