- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for archModf (0.21 sec)
-
src/math/modf_arm64.s
// Copyright 2016 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. #include "textflag.h" // func archModf(f float64) (int float64, frac float64) TEXT ·archModf(SB),NOSPLIT,$0 MOVD f+0(FP), R0 FMOVD R0, F0 FRINTZD F0, F1 FMOVD F1, int+8(FP) FSUBD F1, F0 FMOVD F0, R1 AND $(1<<63), R0 ORR R0, R1 // must have same sign MOVD R1, frac+16(FP)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 15 15:48:19 UTC 2021 - 447 bytes - Viewed (0) -
src/math/modf_ppc64x.s
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build ppc64 || ppc64le #include "textflag.h" // func archModf(f float64) (int float64, frac float64) TEXT ·archModf(SB),NOSPLIT,$0 FMOVD f+0(FP), F0 FRIZ F0, F1 FMOVD F1, int+8(FP) FSUB F1, F0, F2 FCPSGN F2, F0, F2 FMOVD F2, frac+16(FP)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:27 UTC 2023 - 416 bytes - Viewed (0) -
src/math/modf_asm.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build arm64 || ppc64 || ppc64le package math const haveArchModf = true
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 292 bytes - Viewed (0) -
src/math/modf_noasm.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build !arm64 && !ppc64 && !ppc64le package math const haveArchModf = false func archModf(f float64) (int float64, frac float64) { panic("not implemented")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 326 bytes - Viewed (0) -
src/math/modf.go
// that sum to f. Both values have the same sign as f. // // Special cases are: // // Modf(±Inf) = ±Inf, NaN // Modf(NaN) = NaN, NaN func Modf(f float64) (int float64, frac float64) { if haveArchModf { return archModf(f) } return modf(f) } func modf(f float64) (int float64, frac float64) { if f < 1 { switch { case f < 0: int, frac = Modf(-f) return -int, -frac case f == 0:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 913 bytes - Viewed (0) -
src/math/mod.go
// // Special cases are: // // Mod(±Inf, y) = NaN // Mod(NaN, y) = NaN // Mod(x, 0) = NaN // Mod(x, ±Inf) = x // Mod(x, NaN) = NaN func Mod(x, y float64) float64 { if haveArchMod { return archMod(x, y) } return mod(x, y) } func mod(x, y float64) float64 { if y == 0 || IsInf(x, 0) || IsNaN(x) || IsNaN(y) { return NaN() } y = Abs(y) yfr, yexp := Frexp(y) r := x if x < 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 903 bytes - Viewed (0) -
src/math/stubs.go
func archLog2(x float64) float64 { panic("not implemented") } const haveArchLog1p = false func archLog1p(x float64) float64 { panic("not implemented") } const haveArchMod = false func archMod(x, y float64) float64 { panic("not implemented") } const haveArchPow = false func archPow(x, y float64) float64 { panic("not implemented") } const haveArchRemainder = false
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 2.6K bytes - Viewed (0) -
src/math/arith_s390x.go
panic("not implemented") } const haveArchLog2 = false func archLog2(x float64) float64 { panic("not implemented") } const haveArchMod = false func archMod(x, y float64) float64 { panic("not implemented") } const haveArchRemainder = false func archRemainder(x, y float64) float64 { panic("not implemented") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 15 15:48:19 UTC 2021 - 3.7K bytes - Viewed (0)