Update contrib.
1 // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of the License "ARM EABI LICENCE.txt"
5 // which accompanies this distribution, and is available
6 // in kernel/eka/compsupp.
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
16 // This file is part of dfprvct-thunk.dll.
22 IMPORT_C double __aeabi_l2d(long long);
23 IMPORT_C double __aeabi_ul2d(unsigned long long);
24 IMPORT_C long long __aeabi_d2lz(double);
25 IMPORT_C unsigned long long __aeabi_d2ulz(double);
26 IMPORT_C float __aeabi_l2f(long long);
27 IMPORT_C float __aeabi_ul2f(unsigned long long);
28 IMPORT_C long long __aeabi_f2lz(float);
29 IMPORT_C unsigned long long __aeabi_f2ulz(float);
31 EXPORT_C double _ll_sto_d(long long val)
33 return __aeabi_l2d(val);
36 EXPORT_C double _ll_usto_d(unsigned long long val)
38 return __aeabi_ul2d(val);
41 EXPORT_C long long _ll_sfrom_d(double val)
43 return __aeabi_d2lz(val);
46 EXPORT_C unsigned long long _ll_usfrom_d(double val)
48 return __aeabi_d2ulz(val);
51 EXPORT_C float _ll_sto_f(long long val)
53 return __aeabi_l2d(val);
56 EXPORT_C float _ll_usto_f(unsigned long long val)
58 return __aeabi_ul2d(val);
61 EXPORT_C long long _ll_sfrom_f(float val)
63 return __aeabi_d2lz(val);
66 EXPORT_C unsigned long long _ll_usfrom_f(float val)
68 return __aeabi_d2ulz(val);