fastfloat

package
v1.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 28, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseBestEffort

func ParseBestEffort(s string) float64

ParseBestEffort parses floating-point number s.

It is equivalent to strconv.ParseFloat(s, 64), but is faster.

0 is returned if the number cannot be parsed.

func ParseInt64BestEffort added in v1.6.0

func ParseInt64BestEffort(s string) int64

ParseInt64BestEffort parses int64 number s.

It is equivalent to strconv.ParseInt(s, 10, 64), but is faster.

0 is returned if the number cannot be parsed.

func ParseUint64BestEffort added in v1.6.0

func ParseUint64BestEffort(s string) uint64

ParseUint64BestEffort parses uint64 number s.

It is equivalent to strconv.ParseUint(s, 10, 64), but is faster.

0 is returned if the number cannot be parsed.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL