Subversion Repositories HelenOS-historic

Rev

Rev 865 | Rev 876 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 865 Rev 874
Line 254... Line 254...
254
    return float64_to_ulonglong(da);
254
    return float64_to_ulonglong(da);
255
}
255
}
256
 
256
 
257
float __floatsisf(int i)
257
float __floatsisf(int i)
258
{
258
{
-
 
259
    float32 fa;
-
 
260
   
-
 
261
    fa = int_to_float32(i);
-
 
262
    return fa.f;
259
}
263
}
260
double __floatsidf(int i)
264
double __floatsidf(int i)
261
{
265
{
262
}
266
}
263
 
267
 
264
float __floatdisf(long i)
268
float __floatdisf(long i)
265
{
269
{
-
 
270
    float32 fa;
-
 
271
   
-
 
272
    fa = long_to_float32(i);
-
 
273
    return fa.f;
266
}
274
}
267
double __floatdidf(long i)
275
double __floatdidf(long i)
268
{
276
{
269
}
277
}
270
 
278
 
271
float __floattisf(long long i)
279
float __floattisf(long long i)
272
{
280
{
-
 
281
    float32 fa;
-
 
282
   
-
 
283
    fa = longlong_to_float32(i);
-
 
284
    return fa.f;
273
}
285
}
274
double __floattidf(long long i)
286
double __floattidf(long long i)
275
{
287
{
276
}
288
}
277
 
289
 
278
float __floatunsisf(unsigned int i)
290
float __floatunsisf(unsigned int i)
279
{
291
{
-
 
292
    float32 fa;
-
 
293
   
-
 
294
    fa = uint_to_float32(i);
-
 
295
    return fa.f;
280
}
296
}
281
double __floatunsidf(unsigned int i)
297
double __floatunsidf(unsigned int i)
282
{
298
{
283
}
299
}
284
 
300
 
285
float __floatundisf(unsigned long i)
301
float __floatundisf(unsigned long i)
286
{
302
{
-
 
303
    float32 fa;
-
 
304
   
-
 
305
    fa = ulong_to_float32(i);
-
 
306
    return fa.f;
287
}
307
}
288
double __floatundidf(unsigned long i)
308
double __floatundidf(unsigned long i)
289
{
309
{
290
}
310
}
291
 
311
 
292
float __floatuntisf(unsigned long long i)
312
float __floatuntisf(unsigned long long i)
293
{
313
{
-
 
314
    float32 fa;
-
 
315
   
-
 
316
    fa = ulonglong_to_float32(i);
-
 
317
    return fa.f;
294
}
318
}
295
double __floatuntidf(unsigned long long i)
319
double __floatuntidf(unsigned long long i)
296
{
320
{
297
}
321
}
298
 
322