summaryrefslogtreecommitdiff
path: root/avx512-0037785/rtl/inc/currh.inc
blob: 82b1cacc77506d0e08954e7dd36527aa4a3e2081 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
    This file is part of the Free Pascal run time library.
    Copyright (c) 1999-2000 by Florian Klaempfl,
    member of the Free Pascal development team

    See the file COPYING.FPC, included in this distribution,
    for details about the copyright.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

 **********************************************************************}


{$ifdef FPC_CURRENCY_IS_INT64}
    function trunc(c : currency) : int64;
{$ifndef FPUNONE}
    function round(c : currency) : int64;
{$endif FPUNONE}
{$ifndef cpujvm}
    function trunc(c : comp) : int64;
    function round(c : comp) : int64;
{$else not cpujvm}
    function trunc_comp(c: comp) : int64;
    function round_comp(c : comp) : int64;
{$endif not cpujvm}
{$endif FPC_CURRENCY_IS_INT64}