Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:27:24

0001 // Copyright 2020 The Abseil Authors.
0002 //
0003 // Licensed under the Apache License, Version 2.0 (the "License");
0004 // you may not use this file except in compliance with the License.
0005 // You may obtain a copy of the License at
0006 //
0007 //      https://www.apache.org/licenses/LICENSE-2.0
0008 //
0009 // Unless required by applicable law or agreed to in writing, software
0010 // distributed under the License is distributed on an "AS IS" BASIS,
0011 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
0012 // See the License for the specific language governing permissions and
0013 // limitations under the License.
0014 
0015 #ifndef ABSL_STRINGS_INTERNAL_STR_FORMAT_FLOAT_CONVERSION_H_
0016 #define ABSL_STRINGS_INTERNAL_STR_FORMAT_FLOAT_CONVERSION_H_
0017 
0018 #include "absl/strings/internal/str_format/extension.h"
0019 
0020 namespace absl {
0021 ABSL_NAMESPACE_BEGIN
0022 namespace str_format_internal {
0023 
0024 bool ConvertFloatImpl(float v, const FormatConversionSpecImpl &conv,
0025                       FormatSinkImpl *sink);
0026 
0027 bool ConvertFloatImpl(double v, const FormatConversionSpecImpl &conv,
0028                       FormatSinkImpl *sink);
0029 
0030 bool ConvertFloatImpl(long double v, const FormatConversionSpecImpl &conv,
0031                       FormatSinkImpl *sink);
0032 
0033 }  // namespace str_format_internal
0034 ABSL_NAMESPACE_END
0035 }  // namespace absl
0036 
0037 #endif  // ABSL_STRINGS_INTERNAL_STR_FORMAT_FLOAT_CONVERSION_H_