Documentation ¶
Index ¶
- func AreaOfCircleUsingCircumference(c float64) (float64, error)
- func AreaOfCircleUsingRadius(r float64) (float64, error)
- func ComplexRoot(root interface{}, radicand float64) (complex128, error)
- func FastInvirseSqrt32(x float32) (float32, error)
- func PowerOf(base float64, exponent float64) (float64, error)
- func PrintColorf(text string, color string)
- func PrintColorln(text string, color string)
- func RealRoot(root int64, radicand float64, rootIsFloat bool) (float64, error)
- type TextColors
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AreaOfCircleUsingRadius ¶
func ComplexRoot ¶
func ComplexRoot(root interface{}, radicand float64) (complex128, error)
func FastInvirseSqrt32 ¶
func PrintColorf ¶
PrintColorf prints formatted text with the specified color.
func PrintColorln ¶
PrintColorln prints a line of text with the specified color.
Types ¶
type TextColors ¶
TextColors struct holds ANSI escape codes for text color formatting.
func InitTextColors ¶
func InitTextColors() TextColors
InitTextColors initializes and returns a TextColors struct with predefined color codes.
Click to show internal directories.
Click to hide internal directories.