Sign in
fuchsia
/
third_party
/
swift
/
f2cf0510d6e25911e9babada46e0025862bd00cd
/
.
/
test
/
AutoDiff
/
downstream
/
Inputs
/
always_emit_into_client
/
SingleFileModule
/
file.swift
blob: c0060872c6b7f1153295b54549c5b7cbb392106f [
file
] [
log
] [
blame
]
@_alwaysEmitIntoClient
public
func f
(
_ x
:
Float
)
->
Float
{
x
}
@derivative
(
of
:
f
)
@_alwaysEmitIntoClient
public
func df
(
_ x
:
Float
)
->
(
value
:
Float
,
pullback
:
(
Float
)
->
Float
)
{
(
x
,
{
10
*
$0
})
}