Sign in
fuchsia
/
third_party
/
swift
/
948f5517c757da96a519e3b6f4f5ee004b94ee38
/
.
/
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
})
}