File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -25656,7 +25656,7 @@ _Constraints:_ Available only if [code]#GeoFloat# is a _float geometric type_
2565625656as defined above.
2565725657
2565825658_Returns:_ The length of vector [code]#p# computed as:
25659- [code]#+sqrt((half)( pow(p[0],2) + pow(p[1],2) + ...) )+#.
25659+ [code]#+half_precision:: sqrt(pow(p[0],2) + pow(p[1],2) + ...)+#.
2566025660
2566125661The return type is [code]#GeoFloat# if the input type is scalar. Otherwise,
2566225662the return type is [code]#GeoFloat::value_type#.
@@ -25676,7 +25676,8 @@ _Constraints:_ Available only if [code]#GeoFloat# is a _float geometric type_
2567625676as defined above.
2567725677
2567825678_Returns:_ A vector in the same direction as [code]#p# but with a length of 1
25679- computed as [code]#+p*rsqrt((half)(pow(p[0],2) + pow(p[1],2) + ... ))+#.
25679+ computed as
25680+ [code]#+p * half_precision::rsqrt(pow(p[0],2) + pow(p[1],2) + ...)+#.
2568025681
2568125682The result shall be within 8192 ulps error from the infinitely precise result
2568225683of
You can’t perform that action at this time.
0 commit comments