laurent B.

Association Director at Genius Yield

Laurent B. has had a long and varied career in the technology industry. laurent currently serves as the Association Director for Genius Yield, a role they have held since 2021. Prior to that, they were Co-Founder & Managing Director at Elity GmbH from 2017-2021, CEO at Fine & Chic from 2015-2017, Owner Relations & Services at Time & Place from 2013-2015, CEO at Majestic Access Group from 2010-2013, and Founder & CEO at Avangarde Group from 2005-2010.

package main

import (

"fmt"

"math"

)

type ErrNegativeSqrt float64

func (e ErrNegativeSqrt) Error() string {

return fmt.Sprintf("cannot Sqrt negative number: %v", float64(e))

}

func Sqrt(x float64) (float64, error) {

if x < 0 {

return 0, ErrNegativeSqrt(x)

}

return math.Sqrt(x), nil

}

func main() {

fmt.Println(Sqrt(2))

fmt.Println(Sqrt(-2))

}

Links


Org chart

Sign up to view 0 direct reports

Get started


Teams

This person is not in any teams