Flutter Engine
The Flutter Engine
Namespaces | Functions | Variables
double_conversion.cc File Reference
#include "vm/double_conversion.h"
#include "../../third_party/double-conversion/src/double-conversion.h"
#include "vm/exceptions.h"
#include "vm/globals.h"
#include "vm/object.h"

Go to the source code of this file.

Namespaces

namespace  dart
 

Functions

void dart::DoubleToCString (double d, char *buffer, int buffer_size)
 
StringPtr dart::DoubleToStringAsFixed (double d, int fraction_digits)
 
StringPtr dart::DoubleToStringAsExponential (double d, int fraction_digits)
 
StringPtr dart::DoubleToStringAsPrecision (double d, int precision)
 
bool dart::CStringToDouble (const char *str, intptr_t length, double *result)
 
IntegerPtr dart::DoubleToInteger (Zone *zone, double val)
 

Variables

static constexpr char dart::kExponentChar = 'e'
 
static constexpr const char * dart::kInfinitySymbol = "Infinity"
 
static constexpr const char * dart::kNaNSymbol = "NaN"