source: osm/applications/editors/josm/plugins/opendata/includes/org/apache/poi/ss/util/IEEEDouble.java@ 28000

Last change on this file since 28000 was 28000, checked in by donvip, 12 years ago

Import new "opendata" JOSM plugin

File size: 1.3 KB
Line 
1/* ====================================================================
2 Licensed to the Apache Software Foundation (ASF) under one or more
3 contributor license agreements. See the NOTICE file distributed with
4 this work for additional information regarding copyright ownership.
5 The ASF licenses this file to You under the Apache License, Version 2.0
6 (the "License"); you may not use this file except in compliance with
7 the License. You may obtain a copy of the License at
8
9 http://www.apache.org/licenses/LICENSE-2.0
10
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16==================================================================== */
17
18package org.apache.poi.ss.util;
19
20
21/**
22 * For working with the internals of IEEE 754-2008 'binary64' (double precision) floating point numbers
23 *
24 * @author Josh Micich
25 */
26final class IEEEDouble {
27 private static final int EXPONENT_SHIFT = 52;
28 public static final long FRAC_MASK = 0x000FFFFFFFFFFFFFL;
29 public static final long FRAC_ASSUMED_HIGH_BIT = ( 1L<<EXPONENT_SHIFT );
30}
Note: See TracBrowser for help on using the repository browser.