...

Source file src/github.com/cockroachdb/apd/v3/form_string.go

Documentation: github.com/cockroachdb/apd/v3

     1  // Code generated by "stringer -type=Form"; DO NOT EDIT.
     2  
     3  package apd
     4  
     5  import "fmt"
     6  
     7  const _Form_name = "FiniteInfiniteNaNSignalingNaN"
     8  
     9  var _Form_index = [...]uint8{0, 6, 14, 26, 29}
    10  
    11  func (i Form) String() string {
    12  	if i < 0 || i >= Form(len(_Form_index)-1) {
    13  		return fmt.Sprintf("Form(%d)", i)
    14  	}
    15  	return _Form_name[_Form_index[i]:_Form_index[i+1]]
    16  }
    17  

View as plain text