Changeset 2372 for trunk/src


Ignore:
Timestamp:
Jan 8, 2000, 3:24:04 PM (26 years ago)
Author:
sandervl
Message:

Fixed many register based floating point exports

Location:
trunk/src/crtdll
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/crtdll/crt.cpp

    r2346 r2372  
    1 /* $Id: crt.cpp,v 1.4 2000-01-06 20:08:06 sandervl Exp $ */
     1/* $Id: crt.cpp,v 1.5 2000-01-08 14:24:03 sandervl Exp $ */
    22
    33/*
     
    13161316        POP_FPU(x);
    13171317        return pow(x,y);
     1318}
     1319
     1320
     1321/*********************************************************************
     1322 *                  _CIacos    (CRTDLL.004)
     1323 */
     1324double CDECL CRTDLL__CIacos()
     1325{
     1326 double x;
     1327
     1328  dprintf2(("CRTDLL: _CIacos\n"));
     1329  POP_FPU(x);
     1330  return acos(x);
     1331}
     1332
     1333
     1334/*********************************************************************
     1335 *                  _CIasin    (CRTDLL.005)
     1336 */
     1337double CDECL CRTDLL__CIasin()
     1338{
     1339 double x;
     1340
     1341  dprintf2(("CRTDLL: _CIasin\n"));
     1342  POP_FPU(x);
     1343  return asin(x);
     1344}
     1345
     1346
     1347/*********************************************************************
     1348 *                  _CIatan    (CRTDLL.006)
     1349 */
     1350double CDECL CRTDLL__CIatan()
     1351{
     1352 double x;
     1353
     1354  dprintf2(("CRTDLL: _CIatan\n"));
     1355  POP_FPU(x);
     1356  return atan(x);
     1357}
     1358
     1359
     1360/*********************************************************************
     1361 *                  _CIatan2    (CRTDLL.007)
     1362 */
     1363double CDECL CRTDLL__CIatan2()
     1364{
     1365 double x, y;
     1366
     1367  dprintf2(("CRTDLL: _CIatan2\n"));
     1368  POP_FPU(y);
     1369  POP_FPU(x);
     1370  return atan2(x,y);
     1371}
     1372
     1373
     1374/*********************************************************************
     1375 *                  _CIcos    (CRTDLL.008)
     1376 */
     1377double CDECL CRTDLL__CIcos()
     1378{
     1379 double x;
     1380
     1381  dprintf2(("CRTDLL: _CIcos\n"));
     1382  POP_FPU(x);
     1383  return cos(x);
     1384}
     1385
     1386
     1387/*********************************************************************
     1388 *                  _CIcosh    (CRTDLL.009)
     1389 */
     1390double CDECL CRTDLL__CIcosh()
     1391{
     1392 double x;
     1393
     1394  dprintf2(("CRTDLL: _CIcosh\n"));
     1395  POP_FPU(x);
     1396  return cosh(x);
     1397}
     1398
     1399
     1400/*********************************************************************
     1401 *                  _CIexp    (CRTDLL.010)
     1402 */
     1403double CDECL CRTDLL__CIexp()
     1404{
     1405 double x;
     1406
     1407  dprintf2(("CRTDLL: _CIexp\n"));
     1408  POP_FPU(x);
     1409  return exp(x);
     1410}
     1411
     1412
     1413/*********************************************************************
     1414 *                  _CIfmod     (CRTDLL.011)
     1415 */
     1416double CDECL CRTDLL__CIfmod( )
     1417{
     1418 double x, y;
     1419
     1420  dprintf2(("CRTDLL: _CIfmod\n"));
     1421  POP_FPU(y);
     1422  POP_FPU(x);
     1423  return fmod(x,y);
     1424}
     1425
     1426
     1427/*********************************************************************
     1428 *                  _CIlog    (CRTDLL.012)
     1429 */
     1430double CDECL CRTDLL__CIlog()
     1431{
     1432 double x;
     1433
     1434  dprintf2(("CRTDLL: _CIlog\n"));
     1435  POP_FPU(x);
     1436  return log(x);
     1437}
     1438
     1439
     1440/*********************************************************************
     1441 *                  _CIlog10    (CRTDLL.013)
     1442 */
     1443double CDECL CRTDLL__CIlog10()
     1444{
     1445 double x;
     1446
     1447  dprintf2(("CRTDLL: _CIlog10\n"));
     1448  POP_FPU(x);
     1449  return log10(x);
     1450}
     1451
     1452
     1453/*********************************************************************
     1454 *                  _CIsin     (CRTDLL.015)
     1455 */
     1456double CDECL CRTDLL__CIsin()
     1457{
     1458 double x;
     1459
     1460  dprintf2(("CRTDLL: _CIsin\n"));
     1461  POP_FPU(x);
     1462  return sin(x);
     1463}
     1464
     1465
     1466/*********************************************************************
     1467 *                  _CIsinh    (CRTDLL.016)
     1468 */
     1469double CDECL CRTDLL__CIsinh()
     1470{
     1471 double x;
     1472
     1473  dprintf2(("CRTDLL: _CIsinh\n"));
     1474  POP_FPU(x);
     1475  return sinh(x);
     1476}
     1477
     1478
     1479/*********************************************************************
     1480 *                  _CIsqrt    (CRTDLL.017)
     1481 */
     1482double CDECL CRTDLL__CIsqrt()
     1483{
     1484 double x;
     1485
     1486  dprintf2(("CRTDLL: _CIsqrt\n"));
     1487  POP_FPU(x);
     1488  return sqrt(x);
     1489}
     1490
     1491
     1492/*********************************************************************
     1493 *                  _CItan    (CRTDLL.018)
     1494 */
     1495double CDECL CRTDLL__CItan()
     1496{
     1497 double x;
     1498
     1499  dprintf2(("CRTDLL: _CItan\n"));
     1500  POP_FPU(x);
     1501  return tan(x);
     1502}
     1503
     1504
     1505/*********************************************************************
     1506 *                  _CItanh    (CRTDLL.019)
     1507 */
     1508double CDECL CRTDLL__CItanh()
     1509{
     1510 double x;
     1511
     1512  dprintf2(("CRTDLL: _CItanh\n"));
     1513  POP_FPU(x);
     1514  return tanh(x);
    13181515}
    13191516
  • trunk/src/crtdll/crtdll.cpp

    r2364 r2372  
    1 /* $Id: crtdll.cpp,v 1.20 2000-01-08 12:07:45 sandervl Exp $ */
     1/* $Id: crtdll.cpp,v 1.21 2000-01-08 14:24:04 sandervl Exp $ */
    22
    33/*
     
    113113}
    114114
    115 
    116 /*********************************************************************
    117  *                  _CIacos    (CRTDLL.004)
    118  */
    119 double CDECL CRTDLL__CIacos(double x)
    120 {
    121   dprintf2(("CRTDLL: _CIacos\n"));
    122   dprintf2(("should be register function\n"));
    123   return acos(x);
    124 }
    125 
    126 
    127 /*********************************************************************
    128  *                  _CIasin    (CRTDLL.005)
    129  */
    130 double CDECL CRTDLL__CIasin( double x )
    131 {
    132   dprintf2(("CRTDLL: _CIasin\n"));
    133   dprintf2(("should be register function\n"));
    134   return asin(x);
    135 }
    136 
    137 
    138 /*********************************************************************
    139  *                  _CIatan    (CRTDLL.006)
    140  */
    141 double CDECL CRTDLL__CIatan( double x )
    142 {
    143   dprintf2(("CRTDLL: _CIatan\n"));
    144   dprintf2(("should be register function\n"));
    145   return atan(x);
    146 }
    147 
    148 
    149 /*********************************************************************
    150  *                  _CIatan2    (CRTDLL.007)
    151  */
    152 double CDECL CRTDLL__CIatan2( double x, double y )
    153 {
    154   dprintf2(("CRTDLL: _CIatan2\n"));
    155   dprintf2(("should be register function\n"));
    156   return atan2(x,y);
    157 }
    158 
    159 
    160 /*********************************************************************
    161  *                  _CIcos    (CRTDLL.008)
    162  */
    163 double CDECL CRTDLL__CIcos( double x )
    164 {
    165   dprintf2(("CRTDLL: _CIcos\n"));
    166   dprintf2(("should be register function\n"));
    167   return cos(x);
    168 }
    169 
    170 
    171 /*********************************************************************
    172  *                  _CIcosh    (CRTDLL.009)
    173  */
    174 double CDECL CRTDLL__CIcosh( double x )
    175 {
    176   dprintf2(("CRTDLL: _CIcosh\n"));
    177   dprintf2(("should be register function\n"));
    178   return cosh(x);
    179 }
    180 
    181 
    182 /*********************************************************************
    183  *                  _CIexp    (CRTDLL.010)
    184  */
    185 double CDECL CRTDLL__CIexp( double x )
    186 {
    187   dprintf2(("CRTDLL: _CIexp\n"));
    188   dprintf2(("should be register function\n"));
    189   return exp(x);
    190 }
    191 
    192 
    193 /*********************************************************************
    194  *                  _CIfmod     (CRTDLL.011)
    195  */
    196 double CDECL CRTDLL__CIfmod( double x, double y )
    197 {
    198   dprintf2(("CRTDLL: _CIfmod\n"));
    199   dprintf2(("should be register function\n"));
    200   return fmod(x,y);
    201 }
    202 
    203 
    204 /*********************************************************************
    205  *                  _CIlog    (CRTDLL.012)
    206  */
    207 double CDECL CRTDLL__CIlog( double x )
    208 {
    209   dprintf2(("CRTDLL: _CIlog\n"));
    210   dprintf2(("should be register function\n"));
    211   return log(x);
    212 }
    213 
    214 
    215 /*********************************************************************
    216  *                  _CIlog10    (CRTDLL.013)
    217  */
    218 double CDECL CRTDLL__CIlog10( double x )
    219 {
    220   dprintf2(("CRTDLL: _CIlog10\n"));
    221   dprintf2(("should be register function\n"));
    222   return log10(x);
    223 }
    224 
    225 
    226 /*********************************************************************
    227  *                  _CIsin     (CRTDLL.015)
    228  */
    229 double CDECL CRTDLL__CIsin( double x )
    230 {
    231   dprintf2(("CRTDLL: _CIsin\n"));
    232   dprintf2(("should be register function\n"));
    233   return sin(x);
    234 }
    235 
    236 
    237 /*********************************************************************
    238  *                  _CIsinh    (CRTDLL.016)
    239  */
    240 double CDECL CRTDLL__CIsinh( double x )
    241 {
    242   dprintf2(("CRTDLL: _CIsinh\n"));
    243   dprintf2(("should be register function\n"));
    244   return sinh(x);
    245 }
    246 
    247 
    248 /*********************************************************************
    249  *                  _CIsqrt    (CRTDLL.017)
    250  */
    251 double CDECL CRTDLL__CIsqrt( double x )
    252 {
    253   dprintf2(("CRTDLL: _CIsqrt\n"));
    254   dprintf2(("should be register function\n"));
    255   return acos(x);
    256 }
    257 
    258 
    259 /*********************************************************************
    260  *                  _CItan    (CRTDLL.018)
    261  */
    262 double CDECL CRTDLL__CItan( double x )
    263 {
    264   dprintf2(("CRTDLL: _CItan\n"));
    265   dprintf2(("should be register function\n"));
    266   return tan(x);
    267 }
    268 
    269 
    270 /*********************************************************************
    271  *                  _CItanh    (CRTDLL.019)
    272  */
    273 double CDECL CRTDLL__CItanh( double x )
    274 {
    275   dprintf2(("CRTDLL: _CItanh\n"));
    276   dprintf2(("should be register function\n"));
    277   return tanh(x);
    278 }
    279 
    280 
    281115/*********************************************************************
    282116 *                  _XcptFilter    (CRTDLL.21)
     
    287121  return UnhandledExceptionFilter(ExceptionInfo);
    288122}
    289 
    290123
    291124/*********************************************************************
Note: See TracChangeset for help on using the changeset viewer.