equal
deleted
inserted
replaced
341 |
341 |
342 void fpcrtl_new__vars(void **p, int size) { |
342 void fpcrtl_new__vars(void **p, int size) { |
343 *p = malloc(size); |
343 *p = malloc(size); |
344 } |
344 } |
345 |
345 |
346 Integer fpcrtl_trunc(extended n) { |
346 Int64 fpcrtl_trunc(extended n) { |
347 return (int) n; |
347 return (Int64) n; |
348 } |
348 } |
349 |
349 |
350 Integer fpcrtl_ceil(extended n) { |
350 Integer fpcrtl_ceil(extended n) { |
351 return (int) (ceil(n)); |
351 return (Integer) (ceil(n)); |
352 } |
352 } |
353 |
353 |
354 LongInt str_to_int(char *src) |
354 LongInt str_to_int(char *src) |
355 { |
355 { |
356 int i; |
356 int i; |