File: form_string.go

package info (click to toggle)
golang-github-cockroachdb-apd 3.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 1,924 kB
  • sloc: makefile: 5
file content (16 lines) | stat: -rw-r--r-- 355 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by "stringer -type=Form"; DO NOT EDIT.

package apd

import "fmt"

const _Form_name = "FiniteInfiniteNaNSignalingNaN"

var _Form_index = [...]uint8{0, 6, 14, 26, 29}

func (i Form) String() string {
	if i < 0 || i >= Form(len(_Form_index)-1) {
		return fmt.Sprintf("Form(%d)", i)
	}
	return _Form_name[_Form_index[i]:_Form_index[i+1]]
}