OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gnat.dg/] [bltins.adb] - Blame information for rev 696

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 696 jeremybenn
-- { dg-do run }
2
 
3
procedure Bltins is
4
 
5
   function Sqrt (F : Float) return Float;
6
   pragma Import (Intrinsic, Sqrt, "__builtin_sqrtf");
7
 
8
   F : Float := 4.0;
9
   R : Float;
10
begin
11
   R := Sqrt (F);
12
end;

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.