Fix YANG file formatting in concepts
[bgpcep.git] / concepts / src / main / yang / ieee754.yang
1 module ieee754 {
2     yang-version 1;
3     namespace "urn:opendaylight:params:xml:ns:yang:ieee754";
4     prefix "ieee754";
5
6     organization "Cisco Systems, Inc.";
7     contact "Robert Varga <rovarga@cisco.com>";
8
9     description
10         "This module contains the definition of basic float types.
11
12         Copyright (c)2013 Cisco Systems, Inc. All rights reserved.
13
14         This program and the accompanying materials are made available
15         under the terms of the Eclipse Public License v1.0 which
16         accompanies this distribution, and is available at
17         http://www.eclipse.org/legal/epl-v10.html";
18
19     revision "2013-08-19" {
20         description "Initial revision.";
21         reference "IEEE 754-2008";
22     }
23
24     typedef float32 {
25         type binary {
26             length 4;
27         }
28     }
29
30     typedef float64 {
31         type binary {
32             length 8;
33         }
34     }
35
36     typedef float128 {
37         type binary {
38             length 16;
39         }
40     }
41 }